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/286398e8c1acfeb3d98318c71018d68190c7cbb2?hp=6639dbf9490514e2d4a63070053aba5cc84703df 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