summary refs log tree commit diff
diff options
context:
space:
mode:
-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