From 2f36613557a4d33b5706cd9335ff0a4c3b6f1c91 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 9 Sep 1999 14:10:01 +0000 Subject: zsh-workers/7747 --- Completion/User/_cvs | 2 +- Completion/User/_groups | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Completion/User') diff --git a/Completion/User/_cvs b/Completion/User/_cvs index 66adf80df..f1324cfb2 100644 --- a/Completion/User/_cvs +++ b/Completion/User/_cvs @@ -468,7 +468,7 @@ _cvs_extract_file_entries () { builtin functions _cvs_extract_modifiedfile_entries >&- || _cvs_extract_modifiedfile_entries () { - if [[ -n "$compconfig[_cvs_disable_stat]" ]] || + if [[ -n "$compconfig[cvs_disable_stat]" ]] || ! { zmodload -e stat || zmodload stat }; then _cvs_extract_file_entries return diff --git a/Completion/User/_groups b/Completion/User/_groups index 61f63596e..b867634c0 100644 --- a/Completion/User/_groups +++ b/Completion/User/_groups @@ -2,8 +2,13 @@ local expl -: ${(A)groups:=${${(s: :)$( /dev/null; then + : ${(A)groups:=${${(s: :)$(ypcat group.byname)}%%:*}} # If you use NIS + else + : ${(A)groups:=${${(s: :)$(