mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
fixlet, complicated match specs could result in incorrect words being used as possible path expansions (13724)
This commit is contained in:
parent
2849199f3c
commit
6fc50b05c4
@ -1,3 +1,9 @@
|
||||
2001-03-23 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 13724: Completion/Core/_path_files: fixlet, complicated
|
||||
match specs could result in incorrect words being used as
|
||||
possible path expansions
|
||||
|
||||
2001-03-22 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 13676: Completion/User/_mh: some tweaks for nmh.
|
||||
|
@ -364,8 +364,10 @@ for prepath in "$prepaths[@]"; do
|
||||
else
|
||||
exppaths=( "$exppaths[@]" ${^tmp2}/${tpre}${tsuf} )
|
||||
fi
|
||||
else
|
||||
elif [[ ${tpre}${tsuf} = */* ]]; then
|
||||
exppaths=( "$exppaths[@]" ${tpre}${tsuf} )
|
||||
|
||||
### this once was in an `else' (not `elif')
|
||||
fi
|
||||
fi
|
||||
continue 2
|
||||
|
Loading…
Reference in New Issue
Block a user