about summary refs log tree commit diff
path: root/Completion/Unix/Type
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
committerOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
commit78afb218b0b2603db227667b616578bfe927518c (patch)
tree40277c76f6c347e144180b587a3e35c9fa0cbb5c /Completion/Unix/Type
parent408b92b168078a338f5fc2c2f95f39f8aa8e5f67 (diff)
downloadzsh-78afb218b0b2603db227667b616578bfe927518c.tar.gz
zsh-78afb218b0b2603db227667b616578bfe927518c.tar.xz
zsh-78afb218b0b2603db227667b616578bfe927518c.zip
40965: fix for missing local declarations of expl
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r--Completion/Unix/Type/_absolute_command_paths2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_absolute_command_paths b/Completion/Unix/Type/_absolute_command_paths
index e08ca56df..0d52ff851 100644
--- a/Completion/Unix/Type/_absolute_command_paths
+++ b/Completion/Unix/Type/_absolute_command_paths
@@ -9,7 +9,7 @@ _hashed_absolute_command_paths() {
   do
     local -a matches=( "${(@)commands[(R)${~i}[^/]#]}" )
     local -a descs=( $matches:t )
-    compadd -M "l:|=$i" -d descs "$expl[@]" -a matches
+    compadd -M "l:|=$i" -d descs "$@" -a matches
     ret=0
   done
   return ret