From f4e1fc2e1425f7db283e1fe173c65493a48493f2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 7 May 2008 11:46:26 +0100 Subject: [PATCH] fix zrecompiling --- .zsh/zprofile/40_zcompile | 2 +- .zsh/zshrc/00_recompile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5