X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/77bc157163da3f5f9fd2c300733f505ffce8763c..57d8fb02350273da083d12c96a460a666ef4a9e7:/.zsh/zshrc/00_recompile diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 37c607c..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/** $ZVARDIR/** | 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"