1
0
Fork 0
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:
Bart Schaefer 2008-10-15 06:11:39 +00:00
parent 3482e2dc8b
commit 4504a28ac3

View file

@ -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