mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-07 18:11:20 +01:00
12 lines
206 B
Text
12 lines
206 B
Text
#compdef builtin
|
|
|
|
if (( $CURRENT > 2 )); then
|
|
shift words
|
|
(( CURRENT -- ))
|
|
_normal
|
|
else
|
|
local expl
|
|
|
|
_wanted commands expl 'builtin command' &&
|
|
compadd "$expl[@]" "$@" - "${(k@)builtins}"
|
|
fi
|