X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/77bc157163da3f5f9fd2c300733f505ffce8763c..dce1efd2211e5784279b9f35b7594f6a9c0c44dc:/.zsh/zshrc/00_recompile?ds=sidebyside 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"