about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-17 14:09:51 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-17 14:09:51 +0000
commit465430918a193aef1448e6161725f644957491d0 (patch)
tree7b7194ac40c1474a2142df2d6b8aa3be8026501b /Completion/Core
parent97cb373efcab4b37950578949d6d1aa10002d415 (diff)
downloadzsh-465430918a193aef1448e6161725f644957491d0.tar.gz
zsh-465430918a193aef1448e6161725f644957491d0.tar.xz
zsh-465430918a193aef1448e6161725f644957491d0.zip
zsh-workers/9775
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index 8c9981f53..91d070283 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -288,6 +288,7 @@ for prepath in "$prepaths[@]"; do
       # See which of them match what's on the line.
 
       if [[ -n "$_comp_correct" ]]; then
+        tmp2=( "$tmp1[@]" )
         builtin compadd -D tmp1 -F _comp_ignore "$matcher[@]" - "${(@)tmp1:t}"
 
         if [[ $#tmp1 -eq 0 ]]; then