diff options
Diffstat (limited to 'Completion/Zsh/Command/_command')
-rw-r--r-- | Completion/Zsh/Command/_command | 12 |
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 |