From 4504a28ac3f72fc43615d1b5d632183a1717dc8b Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 15 Oct 2008 06:11:39 +0000 Subject: Jörg Sommer: 25883: quote tmp1 strings before joining them into a pattern. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Completion/Base/Utility/_multi_parts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Completion/Base/Utility/_multi_parts b/Completion/Base/Utility/_multi_parts index 615ef79f2..6fb6cbdb1 100644 --- a/Completion/Base/Utility/_multi_parts +++ b/Completion/Base/Utility/_multi_parts @@ -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 -- cgit 1.4.1