diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2008-10-15 06:11:39 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2008-10-15 06:11:39 +0000 |
commit | 4504a28ac3f72fc43615d1b5d632183a1717dc8b (patch) | |
tree | 554a56303e150e609992892715f17d29b92514b7 | |
parent | 3482e2dc8bea48fa7b94717de45dfeb8eff76156 (diff) | |
download | zsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.tar.gz zsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.tar.xz zsh-4504a28ac3f72fc43615d1b5d632183a1717dc8b.zip |
Jörg Sommer: 25883: quote tmp1 strings before joining them into a pattern.
-rw-r--r-- | Completion/Base/Utility/_multi_parts | 2 |
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 |