about summary refs log tree commit diff
path: root/Completion/Builtins/_builtin
blob: f925b88a8031b0e791c2d8e4582fcca58dd3d58b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#compdef builtin

if (( $CURRENT > 2 )); then
  shift words
  (( CURRENT -- ))
  _normal
else
  local expl

  _description expl 'builtin command'
  compgen "$expl[@]" -eB
fi