about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_command
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 00:23:37 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 00:23:37 +0000
commit1d77e36c393be4fa8d836104b6ff2d6bdcfad134 (patch)
treea9ed360c5678cb85a12dcc10985c597b67754f9b /Completion/Zsh/Command/_command
parent57cc145802a781407bf70ee833d83af0cc8a484f (diff)
downloadzsh-1d77e36c393be4fa8d836104b6ff2d6bdcfad134.tar.gz
zsh-1d77e36c393be4fa8d836104b6ff2d6bdcfad134.tar.xz
zsh-1d77e36c393be4fa8d836104b6ff2d6bdcfad134.zip
Merge from HEAD of workers/2378{0,1,2,3}.
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r--Completion/Zsh/Command/_command12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_command b/Completion/Zsh/Command/_command
new file mode 100644
index 000000000..72d7b6e99
--- /dev/null
+++ b/Completion/Zsh/Command/_command
@@ -0,0 +1,12 @@
+#compdef command
+
+local ret
+
+if [[ CURRENT -ge 3 ]]; then
+  compset -n 2
+  _normal && ret=0
+else
+  _path_commands "$@" && ret=0
+fi
+
+return ret