summaryrefslogtreecommitdiff
path: root/Completion/Zsh/Command/_command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r--Completion/Zsh/Command/_command10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_command b/Completion/Zsh/Command/_command
new file mode 100644
index 000000000..b90ec933e
--- /dev/null
+++ b/Completion/Zsh/Command/_command
@@ -0,0 +1,10 @@
+#compdef command
+
+if [[ CURRENT -ge 3 ]]; then
+ compset -n 2
+ _normal
+else
+ local expl
+
+ _wanted commands expl 'external command' compadd "$@" -k commands
+fi