diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-27 05:33:04 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-27 05:33:04 +0000 |
| commit | 346825df86466cf151be61b9429ef2c1734e66ea (patch) | |
| tree | bd3e1ccd947b47f974c62b4113c5276416de2c9f /Completion/User/_groups | |
| parent | zsh-3.1.5-pws-22 (diff) | |
| download | zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar.gz zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar.bz2 zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar.lz zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar.xz zsh-346825df86466cf151be61b9429ef2c1734e66ea.tar.zst zsh-346825df86466cf151be61b9429ef2c1734e66ea.zip | |
zsh-3.1.5-pws-24zsh-3.1.5-pws-24
Diffstat (limited to 'Completion/User/_groups')
| -rw-r--r-- | Completion/User/_groups | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/User/_groups b/Completion/User/_groups new file mode 100644 index 000000000..975189174 --- /dev/null +++ b/Completion/User/_groups @@ -0,0 +1,6 @@ +#compdef newgrp + +: ${(A)groups:=${${(s: :)$(</etc/group)}%%:*}} +# : ${(A)groups:=${${(s: :)$(ypcat group.byname)}%%:*}} # If you use NIS + +compadd $groups |
