diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-01 09:41:56 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-01 09:41:56 +0000 |
commit | cfa7436ee6fd00e2cb21cb2d04417aebd10ed921 (patch) | |
tree | 2789438ce2c71e5751bab6a6bd09a4a8567ca2c0 /Completion/Core/_path_files | |
parent | a1eca6d8eb801d7b2bf68384957e0bff5bfde226 (diff) | |
download | zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.gz zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.xz zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.zip |
zsh-workers/8479
Diffstat (limited to 'Completion/Core/_path_files')
-rw-r--r-- | Completion/Core/_path_files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index cbec82c8a..9b2b332b0 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -10,7 +10,7 @@ local nm=$compstate[nmatches] menu match matcher typeset -U prepaths exppaths -setopt localoptions nullglob rcexpandparam +setopt localoptions nullglob rcexpandparam globdots unsetopt markdirs globsubst shwordsplit nounset local sopt='-' gopt='' opt @@ -210,7 +210,7 @@ for prepath in "$prepaths[@]"; do # Get the matching files by globbing. if [[ "$tpre$tsuf" = */* ]]; then - tmp1=( ${^tmp1}*(-D/) ) + tmp1=( ${^tmp1}*(-/) ) else tmp1=( ${^tmp1}${^~pats} ) fi |