X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/1e8cbee504013a54e6d5141dfb8fba82de3f383d..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zshrc/00_recompile diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index fabb2e5..062cfef 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -2,13 +2,13 @@ # # 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/**(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;; *) :;;