about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-05-11 16:14:58 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-05-11 16:14:58 +0000
commita39eb7948ee559d7aef6010a496ba0c1c1f24549 (patch)
treedf3cad6f14a2cc0fd745628912df6cd6d0200638 /Completion/User
parentcd65b9b4bbdd1dabfeb8948fd7397bbadfed4622 (diff)
downloadzsh-a39eb7948ee559d7aef6010a496ba0c1c1f24549.tar.gz
zsh-a39eb7948ee559d7aef6010a496ba0c1c1f24549.tar.xz
zsh-a39eb7948ee559d7aef6010a496ba0c1c1f24549.zip
Back out 11327 and make the correct fix in _groups (redirect ypcat to stderr)
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_groups2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_groups b/Completion/User/_groups
index 7ee9969cd..d1475b857 100644
--- a/Completion/User/_groups
+++ b/Completion/User/_groups
@@ -7,7 +7,7 @@ _tags groups || return 1
 if ! zstyle -a ":completion:${curcontext}:" groups groups; then
   (( $+_cache_groups )) ||
       if (( ${+commands[ypcat]} )) &&
-	  tmp=$(_call groups ypcat group.byname); then
+	  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)}%%:*}}