mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-22 00:21:27 +01:00
24188: completion for GNU id.
This commit is contained in:
parent
9227102183
commit
0eed895796
2 changed files with 16 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
2007-12-08 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 24187: Completion/Unix/Command/_members: completion for members.
|
||||
* 24188: Completion/Unix/Command/_id: completion for GNU id.
|
||||
|
||||
* 24187: Completion/Debian/Command/_members: completion for members.
|
||||
|
||||
2007-12-07 Clint Adams <clint@zsh.org>
|
||||
|
||||
|
|
13
Completion/Unix/Command/_id
Normal file
13
Completion/Unix/Command/_id
Normal file
|
@ -0,0 +1,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'
|
Loading…
Reference in a new issue