f6bb75579f
This change allow arbitrary Zim location path by setting a new environment variable, ZIM_HOME. If the user does not set it, Zim falls back to the old "${ZDOTDIR:-${HOME}}/.zim" location. Closes #203
8 lines
230 B
Text
8 lines
230 B
Text
#
|
|
# 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'
|