From: martin f. krafft Date: Sat, 19 Sep 2009 08:49:15 +0000 (+0200) Subject: sourcedir also processess symlinks X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/286398e sourcedir also processess symlinks --- diff --git a/.zsh/sourcedir b/.zsh/sourcedir index 2a1eee6..40f1aa0 100644 --- a/.zsh/sourcedir +++ b/.zsh/sourcedir @@ -16,7 +16,7 @@ sourcedir() { return 1 fi # debug "sourcing directory ${1#$ZDOTDIR/}" - for f in "$1"/*(.N); do + for f in "$1"/*(.N,@N); do case "$f" in *~|*.bak|*.old|*.sw?|*.zwc|*.disabled) continue;; esac