1
0
Fork 0
mirror of synced 2024-06-01 06:41:12 -04:00
zimfw/tools/zim_clean_cache
Eric Nielsen 375ca0f150 [template] Move templates/zlogin to login_init.zsh
so it's not a template anymore and can be under version control, instead
of being manually updated by the user, as currently is the case with
`~/.zlogin` and `${ZIM_HOME}/templates/zlogin`.
2017-09-28 15:58:50 -05:00

8 lines
234 B
Plaintext

#
# zim_clean_cache - removes all zcompiled files
#
find ${ZIM_HOME} \( -name '*.zwc' -or -name '*.zwc.old' \) -delete
rm -f ${ZDOTDIR:-${HOME}}/.zshrc.zwc{,.old}
rm -f ${ZDOTDIR:-${HOME}}/${zcompdump_file:-.zcompdump}{,.zwc{,.old}}