X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.zsh%2Fzshrc%2F00_recompile;h=fedc0edb6bf30af078535bb60091e18de19c43ff;hb=ed45c098d40f43ca748c487106daf9a21fcb32e8;hp=fabb2e5094f925850c24235b9ebff22703cb6dac;hpb=1e8cbee504013a54e6d5141dfb8fba82de3f383d;p=zsh.git diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index fabb2e5..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,10 +6,10 @@ # 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/**(N) $ZVARDIR/**(N) | 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;; *) :;;