X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6639dbf9490514e2d4a63070053aba5cc84703df..286398e:/.zsh/sourcedir?ds=sidebyside 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