1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 06:00:54 +01:00
zsh/Completion/Builtins/_command
1999-10-26 15:36:10 +00:00

11 lines
179 B
Text

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