X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/77bc157163da3f5f9fd2c300733f505ffce8763c..0db2a9bc0ab6233396a1011d1318563ea36642d5:/.zsh/zprofile/40_zcompile diff --git a/.zsh/zprofile/40_zcompile b/.zsh/zprofile/40_zcompile index 0074768..01c73b6 100644 --- a/.zsh/zprofile/40_zcompile +++ b/.zsh/zprofile/40_zcompile @@ -9,8 +9,8 @@ # if [ -n "$ZDOTDIR" ]; then - command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) $ZVARDIR/**/*.zwc(.N) - for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(.) $ZDOTDIR/**/*(.) $ZVARDIR/comp-$HOST) \ + rm -f $ZDOTDIR/**/*.zwc(D.N) $ZVARDIR/**/*.zwc(.N) + for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(D.,@) $ZDOTDIR/**/*(.) $ZVARDIR/comp*(.)) \ zcompile $f fi