1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/Builtins/_builtin
2000-03-23 04:19:26 +00:00

11 lines
186 B
Text

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