From: martin f. krafft Date: Thu, 8 May 2008 20:53:09 +0000 (+0100) Subject: fix compilation globs X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/0db2a9bc0ab6233396a1011d1318563ea36642d5 fix compilation globs --- diff --git a/.zsh/zprofile/40_zcompile b/.zsh/zprofile/40_zcompile index 967199a..01c73b6 100644 --- a/.zsh/zprofile/40_zcompile +++ b/.zsh/zprofile/40_zcompile @@ -9,8 +9,8 @@ # if [ -n "$ZDOTDIR" ]; then - 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