about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-12-09 01:45:57 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-12-09 01:45:57 +0000
commit5a603537e2130ff5f358c43221c82d272c3bee1d (patch)
treef91cdaecdf47bc8d06122e782154e9528d3ab879
parent457c48ae9fe8342106df0af1ea6fc59bf3e790a9 (diff)
downloadzsh-5a603537e2130ff5f358c43221c82d272c3bee1d.tar.gz
zsh-5a603537e2130ff5f358c43221c82d272c3bee1d.tar.xz
zsh-5a603537e2130ff5f358c43221c82d272c3bee1d.zip
Merge of new completions 24187 and 24188.
-rw-r--r--Completion/Debian/Command/_members9
-rw-r--r--Completion/Unix/Command/_id13
2 files changed, 22 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_members b/Completion/Debian/Command/_members
new file mode 100644
index 000000000..ffe3d4d42
--- /dev/null
+++ b/Completion/Debian/Command/_members
@@ -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'
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'