From 0eed895796ee98a5733f4dcb8cf8297ea805a99c Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 8 Dec 2007 16:48:44 +0000 Subject: 24188: completion for GNU id. --- ChangeLog | 4 +++- Completion/Unix/Command/_id | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Completion/Unix/Command/_id diff --git a/ChangeLog b/ChangeLog index 23d40e966..63974b285 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2007-12-08 Clint Adams - * 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 diff --git a/Completion/Unix/Command/_id b/Completion/Unix/Command/_id new file mode 100644 index 000000000..36cdf4c19 --- /dev/null +++ b/Completion/Unix/Command/_id @@ -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' -- cgit 1.4.1