1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00
zsh/Completion/Builtins/_builtin
1999-10-28 08:13:52 +00:00

12 lines
195 B
Text

#compdef builtin
if (( $CURRENT > 2 )); then
shift words
(( CURRENT -- ))
_normal
else
local expl
_description expl 'builtin command'
compadd "$expl[@]" "$@" - "${(k@)builtins}"
fi