X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f4e1fc2e1425f7db283e1fe173c65493a48493f2..c3bb27de5d481b62b216517098064472dd11b9c6:/.zsh/zshrc/00_recompile

diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile
index 05bb0f5..b721072 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"