mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-23 00:55:49 -04:00
15 lines
238 B
Plaintext
15 lines
238 B
Plaintext
#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
|