mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
14 lines
238 B
Text
14 lines
238 B
Text
#compdef command
|
|
|
|
local ret
|
|
|
|
# indicate if this is a precommand modifier
|
|
[[ $service = command ]] && precommands+=(command)
|
|
if [[ CURRENT -ge 3 ]]; then
|
|
compset -n 2
|
|
_normal && ret=0
|
|
else
|
|
_path_commands "$@" && ret=0
|
|
fi
|
|
|
|
return ret
|