X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f4e1fc2e1425f7db283e1fe173c65493a48493f2..95cb32f9b6cef714b4a77f2acc3940b5698df6da:/.zsh/zshrc/00_recompile diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 05bb0f5..b721072 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -8,9 +8,9 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -zrecompile $ZDOTDIR/** $ZVAR/** | while read pre file post; do +zrecompile $ZDOTDIR/**/*(/N) $ZVARDIR/**/*(/N) | while read pre file post; do case "$post" in - succeeded) rm -f "${file%:}".old;; + succeeded*) rm -f "${file%:}".old;; *) :;; esac info "$pre ${file##$HOME/} $post"