From: martin f. krafft Date: Wed, 7 May 2008 10:37:30 +0000 (+0100) Subject: do not source *.old files X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/599140d343a3d02f2174cf777460619d25b3b92f?ds=inline do not source *.old files --- diff --git a/.zsh/sourcedir b/.zsh/sourcedir index cd89e2c..f5ac684 100644 --- a/.zsh/sourcedir +++ b/.zsh/sourcedir @@ -17,7 +17,7 @@ sourcedir() { debug "sourcing directory ${1#$ZDOTDIR/}" for f in "$1"/*(.N); do case "$f" in - *~|*.bak|*.sw?|*.zwc|*.disabled) continue;; + *~|*.bak|*.old|*.sw?|*.zwc|*.disabled) continue;; esac debug " sourcing file $f" . "$f"