diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:37:33 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:37:33 +0000 |
commit | c0a4335219270fdbf03b785fee7ee40c59eff759 (patch) | |
tree | d4c5427002cf1609b3708960f7fb72b2f8f745b7 | |
parent | 6e81cd8a168c5ba033947ea2464c3c3e7aa794c9 (diff) | |
download | zsh-c0a4335219270fdbf03b785fee7ee40c59eff759.tar.gz zsh-c0a4335219270fdbf03b785fee7ee40c59eff759.tar.xz zsh-c0a4335219270fdbf03b785fee7ee40c59eff759.zip |
moved to Completion/Unix/Type/_groups
-rw-r--r-- | Completion/User/_groups | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Completion/User/_groups b/Completion/User/_groups deleted file mode 100644 index 673c44688..000000000 --- a/Completion/User/_groups +++ /dev/null @@ -1,19 +0,0 @@ -#compdef newgrp - -local expl groups tmp - -_tags groups || return 1 - -if ! zstyle -a ":completion:${curcontext}:" groups groups; then - (( $+_cache_groups )) || - if (( ${+commands[ypcat]} )) && - tmp=$(_call groups ypcat group.byname 2>/dev/null); then - : ${(A)_cache_groups:=${${(f)tmp}%%:*}} # If you use YP - else - : ${(A)_cache_groups:=${${(s: :)$(</etc/group)}%%:*}} - fi - - groups=( "$_cache_groups[@]" ) -fi - -_wanted groups expl group compadd "$@" -a groups |