diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:26:50 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:26:50 +0000 |
commit | d9ba273ed79b4726ace61d365cb3699ecd45f257 (patch) | |
tree | 0b182f4a6f082baa5a030b20910d094981638a22 /Completion/Zsh/Command | |
parent | 8638ff684bda45d4eafe5fa934c5cd1fb1a42f8f (diff) | |
download | zsh-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/_command | 10 |
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 |