about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-12-08 16:48:44 +0000
committerClint Adams <clint@users.sourceforge.net>2007-12-08 16:48:44 +0000
commit0eed895796ee98a5733f4dcb8cf8297ea805a99c (patch)
tree78589ff88ebed93b0c94f8e00a666a84483fec83 /Completion
parent92271021833da220a2c48fa52cd78495835013cc (diff)
downloadzsh-0eed895796ee98a5733f4dcb8cf8297ea805a99c.tar.gz
zsh-0eed895796ee98a5733f4dcb8cf8297ea805a99c.tar.xz
zsh-0eed895796ee98a5733f4dcb8cf8297ea805a99c.zip
24188: completion for GNU id.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_id13
1 files changed, 13 insertions, 0 deletions
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'