1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

Merge of new completions 24187 and 24188.

This commit is contained in:
Paul Ackersviller 2007-12-09 01:45:57 +00:00
parent 457c48ae9f
commit 5a603537e2
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#compdef members
_arguments \
'(-a --all)'{-a,--all}'[show all group members on one line]' \
'(-p --primary)'{-p,--primary}'[show only primary group members]' \
'(-s --secondary)'{-s,--secondary}'[show only secondary group members]' \
'(-t --two-lines)'{-t,--two-lines}'[show only primary/secondary across two lines]' \
'(-h --help)'{-h,--help}'[show help]' \
':group:_groups'

View 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'