1 2 3 4 5 6 7 8 9 10 11
#compdef builtin if (( $CURRENT > 2 )); then shift words (( CURRENT -- )) _normal else local expl _wanted commands expl 'builtin command' compadd "$@" -k builtins fi