mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 12:11:26 +01:00
Jörg Sommer: 25883: quote tmp1 strings before joining them into a pattern.
This commit is contained in:
parent
3482e2dc8b
commit
4504a28ac3
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ while true; do
|
|||
SUFFIX="$suf"
|
||||
fi
|
||||
|
||||
matches=( "${(@M)matches:#(${(j:|:)~tmp1})*}" )
|
||||
matches=( "${(@M)matches:#(${(j:|:)~${(q)tmp1}})*}" )
|
||||
|
||||
if ! zstyle -t ":completion:${curcontext}:" expand suffix ||
|
||||
[[ -n "$menu" || -z "$compstate[insert]" ]]; then
|
||||
|
|
Loading…
Reference in a new issue