summary refs log tree commit diff
path: root/Completion/Zsh/Command/_command
blob: 72d7b6e99a306be393e217bccf9af2b62b3d75ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#compdef command

local ret

if [[ CURRENT -ge 3 ]]; then
  compset -n 2
  _normal && ret=0
else
  _path_commands "$@" && ret=0
fi

return ret