#compdef command # indicate if this is a precommand modifier [[ $service = command ]] && precommands+=(command) _arguments \ '-v[indicate result of command search]:*:command:_path_commands' \ '-V[show result of command search in verbose form]:*:command:_path_commands' \ '(-)-p[use default PATH to find command]' \ ':command:_path_commands' \ '*::arguments: _normal'