about summary refs log tree commit diff
path: root/Completion/Unix/Type/_absolute_command_paths
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Type/_absolute_command_paths')
-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