summary refs log tree commit diff
path: root/Completion/Builtins/_builtin
blob: 9fb6acf7b70d492f08b2345beb049119401ca817 (plain) (blame)
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