From: martin f. krafft Date: Wed, 7 May 2008 11:15:02 +0000 (+0100) Subject: comment debugging stuff which just costs time X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/5a8a28e150ef5e3d26ed53b9a4524726527c3a0a?hp=f4e1fc2e1425f7db283e1fe173c65493a48493f2 comment debugging stuff which just costs time --- diff --git a/.zsh/rcsstub b/.zsh/rcsstub index 60beecb..0f30dc6 100644 --- a/.zsh/rcsstub +++ b/.zsh/rcsstub @@ -12,13 +12,13 @@ . $ZDOTDIR/util if [[ -o rcs ]]; then - __do_debug && set -x || : +# __do_debug && set -x || : file="%1N"; file="${(%)file}" . $ZDOTDIR/sourcedir sourcedir $ZDOTDIR/${file#.} - __do_debug && set +x || : +# __do_debug && set +x || : fi # vim:ft=zsh diff --git a/.zsh/sourcedir b/.zsh/sourcedir index f5ac684..4ce51a8 100644 --- a/.zsh/sourcedir +++ b/.zsh/sourcedir @@ -14,12 +14,12 @@ sourcedir() { if [ ! -d "$1" ]; then return 1 fi - debug "sourcing directory ${1#$ZDOTDIR/}" +# debug "sourcing directory ${1#$ZDOTDIR/}" for f in "$1"/*(.N); do case "$f" in *~|*.bak|*.old|*.sw?|*.zwc|*.disabled) continue;; esac - debug " sourcing file $f" +# debug " sourcing file $f" . "$f" done }