]> git.donarmstrong.com Git - zsh.git/commitdiff
comment debugging stuff which just costs time
authormartin f. krafft <madduck@madduck.net>
Wed, 7 May 2008 11:15:02 +0000 (12:15 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 7 May 2008 11:15:02 +0000 (12:15 +0100)
.zsh/rcsstub
.zsh/sourcedir

index 60beecb34ee1827e7bb3776f146e47e33fe7b68a..0f30dc62c94003ec223ea95f27ac709d5fdb6753 100644 (file)
 . $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
index f5ac6842b1a103dcabc8c7d2eb2756a3302f0332..4ce51a8330985e0c93f766b9007539c9e58eae5f 100644 (file)
@@ -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
 }