X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/77bc157163da3f5f9fd2c300733f505ffce8763c..61f315793f3fcd7d22456d2a0057efbf88191fda:/.zsh/zshrc/00_recompile

diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile
index 37c607c..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/** $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"