mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
always use supplied matchers (14599)
This commit is contained in:
parent
99beeb572e
commit
1a55d53621
@ -1,3 +1,8 @@
|
||||
2001-05-31 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 14599: Completion/Base/Utility/_multi_parts: always use
|
||||
supplied matchers
|
||||
|
||||
2001-05-30 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 14573: INSTALL, README, Doc/Zsh/builtins.yo, Test/README,
|
||||
|
@ -91,10 +91,10 @@ while true; do
|
||||
else
|
||||
# No exact match, see how many strings match what's on the line.
|
||||
|
||||
builtin compadd -O tmp1 - "${(@)${(@)matches%%${sep}*}:#}"
|
||||
builtin compadd -O tmp1 -M "r:|${sep}=* r:|=* $matcher" - "${(@)${(@)matches%%${sep}*}:#}"
|
||||
|
||||
[[ $#tmp1 -eq 0 && -n "$_comp_correct" ]] &&
|
||||
compadd -O tmp1 - "${(@)${(@)matches%%${sep}*}:#}"
|
||||
compadd -O tmp1 -M "r:|${sep}=* r:|=* $matcher" - "${(@)${(@)matches%%${sep}*}:#}"
|
||||
|
||||
if [[ $#tmp1 -eq 1 ]]; then
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user