X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/5838b305850a8bd1e0d7d4701986fae648858a08..82ad413bc9c2f293c0758fe262d3904df456abbf:/.zsh/zshrc/00_recompile?ds=sidebyside diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 6f5b2e3..b721072 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -8,12 +8,12 @@ # 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 - echo "$pre ${file##$HOME/} $post" >&2 + info "$pre ${file##$HOME/} $post" done # vim:ft=zsh