X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f4e1fc2e1425f7db283e1fe173c65493a48493f2..4749d4ded89ab2a937b2e525c0e0df751c760d27:/.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"