. $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
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
}