summary refs log tree commit diff
path: root/Completion/Base/Utility
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-10-15 06:11:39 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-10-15 06:11:39 +0000
commit4504a28ac3f72fc43615d1b5d632183a1717dc8b (patch)
tree554a56303e150e609992892715f17d29b92514b7 /Completion/Base/Utility
parent3482e2dc8bea48fa7b94717de45dfeb8eff76156 (diff)
downloadzsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.tar.gz
zsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.tar.xz
zsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.zip
Jörg Sommer: 25883: quote tmp1 strings before joining them into a pattern.
Diffstat (limited to 'Completion/Base/Utility')
-rw-r--r--Completion/Base/Utility/_multi_parts2
1 files changed, 1 insertions, 1 deletions
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