about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-12-08 16:38:36 +0000
committerClint Adams <clint@users.sourceforge.net>2007-12-08 16:38:36 +0000
commit92271021833da220a2c48fa52cd78495835013cc (patch)
treeb636518d796eb4269a53f8e0aa0f500fe4560bdb
parent4b621a09b2a19f61ee96a92a7ff4bc099e22812a (diff)
downloadzsh-92271021833da220a2c48fa52cd78495835013cc.tar.gz
zsh-92271021833da220a2c48fa52cd78495835013cc.tar.xz
zsh-92271021833da220a2c48fa52cd78495835013cc.zip
24187: completion for members.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Debian/Command/_members9
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index af0ba2ddd..23d40e966 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-08  Clint Adams  <clint@zsh.org>
+
+	* 24187: Completion/Unix/Command/_members: completion for members.
+
 2007-12-07  Clint Adams  <clint@zsh.org>
 
 	* 24174: Completion/Unix/Command/_cut: Oliver's deuglification
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'