X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f4e1fc2e1425f7db283e1fe173c65493a48493f2..7cdd43f4d8d3f981a278189f059f764d0529e085:/.zsh/zshrc/00_recompile diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 05bb0f5..fabb2e5 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -8,9 +8,9 @@ # 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 info "$pre ${file##$HOME/} $post"