From: martin f. krafft Date: Wed, 7 May 2008 10:46:26 +0000 (+0100) Subject: fix zrecompiling X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/f4e1fc2e1425f7db283e1fe173c65493a48493f2 fix zrecompiling --- diff --git a/.zsh/zprofile/40_zcompile b/.zsh/zprofile/40_zcompile index b3a3e26..4ebd4db 100644 --- a/.zsh/zprofile/40_zcompile +++ b/.zsh/zprofile/40_zcompile @@ -9,7 +9,7 @@ # if [ -n "$ZDOTDIR" ]; then - command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) ZVAR/**/*.zwc(.N) + command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) $ZVAR/**/*.zwc(.N) for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(.) $ZDOTDIR/**/*(.) $ZVAR/comp-$HOST) \ zcompile $f fi diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 6f5b2e3..05bb0f5 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -8,12 +8,12 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -zrecompile $ZDOTDIR $ZVAR | while read pre file post; do +zrecompile $ZDOTDIR/** $ZVAR/** | while read pre file post; do case "$post" in succeeded) rm -f "${file%:}".old;; *) :;; esac - echo "$pre ${file##$HOME/} $post" >&2 + info "$pre ${file##$HOME/} $post" done # vim:ft=zsh