about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_which
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_which')
-rw-r--r--Completion/Zsh/Command/_which2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_which b/Completion/Zsh/Command/_which
index 2b89112bc..07ede39fd 100644
--- a/Completion/Zsh/Command/_which
+++ b/Completion/Zsh/Command/_which
@@ -28,7 +28,7 @@ if [[ "$state" = command ]]; then
   args=( "$@" )
 
   _alternative -O args \
-    'commands:external command:compadd -k commands' \
+    'commands:external command:_path_commands' \
     'builtins:builtin command:compadd -k builtins' \
     'functions:shell function:compadd -k functions' \
     'aliases:alias:compadd -k aliases' \