about summary refs log tree commit diff
path: root/Completion/Core/_multi_parts
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-25 14:38:31 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-25 14:38:31 +0000
commit85e7a6af99b5c83754949ea3a89b493e7ed95c27 (patch)
tree761cc75cd71a0c642ff440bd46174594525c0296 /Completion/Core/_multi_parts
parent68455c71b9ff8a2e9a47453bb65da600819c7dcb (diff)
downloadzsh-85e7a6af99b5c83754949ea3a89b493e7ed95c27.tar.gz
zsh-85e7a6af99b5c83754949ea3a89b493e7ed95c27.tar.xz
zsh-85e7a6af99b5c83754949ea3a89b493e7ed95c27.zip
zsh-workers/7480
Diffstat (limited to 'Completion/Core/_multi_parts')
-rw-r--r--Completion/Core/_multi_parts2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_multi_parts b/Completion/Core/_multi_parts
index 392277f94..d51130391 100644
--- a/Completion/Core/_multi_parts
+++ b/Completion/Core/_multi_parts
@@ -84,6 +84,8 @@ while true; do
     # No exact match, see how many strings match what's on the line.
 
     compadd -O tmp1 - "${(@)matches%%${sep}*}"
+    tmp2=( "$tmp1[@]" )
+    tmp1=( "$tmp2[@]" )
 
     if [[ $#tmp1 -eq 1 ]]; then