about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_groups3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/User/_groups b/Completion/User/_groups
index c4d53d32d..748536f3b 100644
--- a/Completion/User/_groups
+++ b/Completion/User/_groups
@@ -6,7 +6,8 @@ _wanted groups || return 1
 
 if ! zstyle -a ":completion:${curcontext}:" groups groups; then
   (( $+_cache_groups )) ||
-      if (( ${+commands[ypcat]} )) && tmp=$(ypcat group.byname); then
+      if (( ${+commands[ypcat]} )) &&
+	  tmp=$(_call groups ypcat group.byname); then
         : ${(A)_cache_groups:=${${(f)tmp}%%:*}} # If you use YP
       else
         : ${(A)_cache_groups:=${${(s: :)$(</etc/group)}%%:*}}