From 4504a28ac3f72fc43615d1b5d632183a1717dc8b Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 15 Oct 2008 06:11:39 +0000 Subject: [PATCH] =?UTF-8?q?J=C3=B6rg=20Sommer:=2025883:=20quote=20tmp1=20s?= =?UTF-8?q?trings=20before=20joining=20them=20into=20a=20pattern.?= 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