about summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:26:50 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:26:50 +0000
commitd9ba273ed79b4726ace61d365cb3699ecd45f257 (patch)
tree0b182f4a6f082baa5a030b20910d094981638a22 /Completion/Zsh/Command
parent8638ff684bda45d4eafe5fa934c5cd1fb1a42f8f (diff)
downloadzsh-d9ba273ed79b4726ace61d365cb3699ecd45f257.tar.gz
zsh-d9ba273ed79b4726ace61d365cb3699ecd45f257.tar.xz
zsh-d9ba273ed79b4726ace61d365cb3699ecd45f257.zip
moved from Completion/Builtins/_command
Diffstat (limited to 'Completion/Zsh/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