X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/5838b305850a8bd1e0d7d4701986fae648858a08..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zshrc/00_recompile?ds=inline diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 6f5b2e3..062cfef 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -2,18 +2,18 @@ # # recompile zsh snippets, if necessary # -# Copyright © 1994–2008 martin f. krafft +# Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # 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