X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.zsh%2Fzshrc%2F00_recompile;h=fedc0edb6bf30af078535bb60091e18de19c43ff;hb=HEAD;hp=37c607c69558ccc1253bdaee0c9c1dffee705dff;hpb=77bc157163da3f5f9fd2c300733f505ffce8763c;p=zsh.git diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 37c607c..fedc0ed 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -1,3 +1,4 @@ +# -*- mode: sh -*- # zshrc/00_zrecompile # # recompile zsh snippets, if necessary @@ -5,12 +6,12 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/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"