[tools] Also remove *.zwc.old files from cache
as zrecompile also generates these files.
This commit is contained in:
parent
3660b6f00b
commit
6cc3825437
|
@ -2,8 +2,8 @@
|
||||||
# zim_clean_cache - removes all zcompiled files
|
# zim_clean_cache - removes all zcompiled files
|
||||||
#
|
#
|
||||||
|
|
||||||
find ${ZIM_HOME} -iname '*.zwc' -delete
|
find ${ZIM_HOME} \( -name '*.zwc' -or -name '*.zwc.old' \) -delete
|
||||||
rm -f ${ZDOTDIR:-${HOME}}/.zshrc.zwc
|
rm -f ${ZDOTDIR:-${HOME}}/.zshrc.zwc{,.old}
|
||||||
rm -f ${ZDOTDIR:-${HOME}}/${zcompdump_file:-.zcompdump}{,.zwc}
|
rm -f ${ZDOTDIR:-${HOME}}/${zcompdump_file:-.zcompdump}{,.zwc{,.old}}
|
||||||
|
|
||||||
print 'To rebuild the completion cache, please restart your terminal'
|
print 'To rebuild the completion cache, please restart your terminal'
|
||||||
|
|
Loading…
Reference in a new issue