about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-25 18:07:38 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-25 18:07:38 +0000
commit3a69ea87be4023e93c0ee317e627e72201fac8c7 (patch)
tree33d8a33ce386c0193f9b1da42d73d74ad505762f /Completion/User
parent7e2d72fff45836860a86550e1a98c800bede1eb8 (diff)
downloadzsh-3a69ea87be4023e93c0ee317e627e72201fac8c7.tar.gz
zsh-3a69ea87be4023e93c0ee317e627e72201fac8c7.tar.xz
zsh-3a69ea87be4023e93c0ee317e627e72201fac8c7.zip
zsh-workers/10243
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)}%%:*}}