diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-24 11:56:08 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-24 11:56:08 +0000 |
| commit | bee5edef68f587cff2f25690f92045a2d4a0f70f (patch) | |
| tree | c7c411dc99355bed03f714ab2008893c7ddbdd25 /Completion | |
| parent | zsh-workers/10223 (diff) | |
| download | zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar.gz zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar.bz2 zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar.lz zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar.xz zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.tar.zst zsh-bee5edef68f587cff2f25690f92045a2d4a0f70f.zip | |
zsh-workers/10225
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Core/_path_files | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 21ca05529..9f197f324 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -30,6 +30,7 @@ if (( $tmp1[(I)-/] )); then else pats=( "${(@)=${(@M)tmp1:#-g*}#-g}" ) fi +pats=( "${(@)pats:# #}" ) if (( $#prepaths )); then tmp1="${prepaths[2]}" @@ -268,7 +269,7 @@ for prepath in "$prepaths[@]"; do fi else if [[ ! -o globdots && "$PREFIX" = .* ]]; then - tmp1=( ${^tmp1}${skipped}${^~pats} ${^tmp1}${skipped}.${^~pats} ) + tmp1=( ${^tmp1}${skipped}${^~pats} ${^tmp1}${skipped}.${^~pats:#.*} ) else tmp1=( ${^tmp1}${skipped}${^~pats} ) fi |
