1
0
Fork 0
mirror of synced 2024-06-02 15:21:11 -04:00
zimfw/tools/zim_clean_cache
Thiago Kenji Okada 3e60ae9950 init.zsh: Allow arbitrary ZIM location
This change allow arbitrary ZIM location path by setting a new
environment variable, ZIM_PATH. If the user does not set it, ZIM falls
back to the old "${ZDOTDIR:-${HOME}}/.zim" location.
2017-08-12 01:07:52 +00:00

9 lines
230 B
Plaintext

#
# zim_clean_cache - removes all zcompiled files
#
find ${ZIM_HOME} -iname '*.zwc' | xargs rm
rm -f ${ZDOTDIR:-${HOME}}/.{zshrc.zwc,zcompdump,zcompdump.zwc}
print 'To rebuild the completion cache, please restart your terminal'