mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 19:00:57 +02:00
18262: fix bug where only first match was added with expand style set to suffix
This commit is contained in:
parent
079ed78139
commit
cd220acea0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-02-19 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 18262: Completion/Base/Utility/_multi_parts: fix bug where only
|
||||
the first match was added with expand style set to suffix
|
||||
|
||||
2003-02-18 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 18257: Completion/Unix/Command/_xmlsoft,
|
||||
|
|
|
@ -114,7 +114,7 @@ while true; do
|
|||
if [[ $#imm -ne 0 && $#matches -eq 1 ]] ||
|
||||
zstyle -t ":completion:${curcontext}:" expand suffix; then
|
||||
compadd "$group[@]" "$expl[@]" "$sopts[@]" \
|
||||
-M "r:|${sep}=* r:|=* $matcher" - "$pref$matches[1]"
|
||||
-M "r:|${sep}=* r:|=* $matcher" - $pref$matches
|
||||
else
|
||||
if (( $matches[(I)${tmp1[1]}${sep}*] )); then
|
||||
compadd "$group[@]" "$expl[@]" -p "$pref" -r "$sep" -S "$sep" "$opts[@]" \
|
||||
|
|
Loading…
Reference in a new issue