File: _builtin

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (11 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#compdef builtin

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

  _wanted commands expl 'builtin command' compadd "$@" -k builtins
fi