about summary refs log tree commit diff
path: root/Completion/Unix/Command/_id
blob: 36cdf4c195822a9d08997f2ea4e9a48d2e87b0c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#compdef id

_arguments \
  '-a[no-op]' \
  '(-Z --context)'{-Z,--context}'[print only context]' \
  '(-g --group)'{-g,--group}'[print only EGID]' \
  '(-G --groups)'{-G,--groups}'[print all GIDs]' \
  '(-n --name)'{-n,--name}'[print name instead of number]' \
  '(-r --real)'{-r,--real}'[print real ID instead of effective]' \
  '(-u --user)'{-u,--user}'[print only EUID]' \
  '--help[display help]' \
  '--version[display version]' \
  ':user:_users'