1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-10 22:31:24 +02:00
zsh/Completion/Builtins/_command
1999-11-15 12:01:46 +00:00

11 lines
190 B
Text

#compdef command
if [[ CURRENT -ge 3 ]]; then
compset -n 2
_normal
else
local expl
_wanted commands expl 'external command' &&
compadd "$expl[@]" "$@" - "${(k@)commands}"
fi