about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:37:33 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:37:33 +0000
commitc0a4335219270fdbf03b785fee7ee40c59eff759 (patch)
treed4c5427002cf1609b3708960f7fb72b2f8f745b7 /Completion/User
parent6e81cd8a168c5ba033947ea2464c3c3e7aa794c9 (diff)
downloadzsh-c0a4335219270fdbf03b785fee7ee40c59eff759.tar.gz
zsh-c0a4335219270fdbf03b785fee7ee40c59eff759.tar.xz
zsh-c0a4335219270fdbf03b785fee7ee40c59eff759.zip
moved to Completion/Unix/Type/_groups
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_groups19
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