From d8f703027345170c7bc820ed7808e693dd1377d6 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sat, 25 Mar 2000 00:21:44 +0000 Subject: zsh-3.1.6-dev-20 --- Completion/User/.distfiles | 6 +++--- Completion/User/_groups | 3 +-- Completion/User/_mailboxes | 5 +++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Completion/User') diff --git a/Completion/User/.distfiles b/Completion/User/.distfiles index 7dafbfbca..a2e47a963 100644 --- a/Completion/User/.distfiles +++ b/Completion/User/.distfiles @@ -2,10 +2,10 @@ DISTFILES_SRC=' .distfiles _a2ps _archie _bison _bunzip2 _bzip2 _chown _compress _configure _cvs _dd _diff _diff_options _dir_list _dirs - _domains _dvi _find _finger _flex _gcc _gdb _gprof _groups + _domains _dvi _find _finger _flex _gcc _gdb _getconf _gprof _groups _gs _gunzip _gv _gzip _hosts _ispell _killall _lp _lynx - _mailboxes _make _man _mh _mount _mutt _my_accounts - _netscape _nslookup _other_accounts _pack _patch _pbm _pdf + _mailboxes _make _man _mh _mount _mutt _my_accounts _mysql_utils _nedit + _netscape _nslookup _other_accounts _pack _patch _pbm _pdf _perl _perl_basepods _perl_builtin_funcs _perl_modules _perldoc _ports _prcs _prompt _ps _pspdf _psutils _rcs _rlogin _sh _socket _ssh _strip _stty _su _sudo _tar _tar_archive _telnet _tex _texi diff --git a/Completion/User/_groups b/Completion/User/_groups index 748536f3b..c4d53d32d 100644 --- a/Completion/User/_groups +++ b/Completion/User/_groups @@ -6,8 +6,7 @@ _wanted groups || return 1 if ! zstyle -a ":completion:${curcontext}:" groups groups; then (( $+_cache_groups )) || - if (( ${+commands[ypcat]} )) && - tmp=$(_call groups ypcat group.byname); then + if (( ${+commands[ypcat]} )) && tmp=$(ypcat group.byname); then : ${(A)_cache_groups:=${${(f)tmp}%%:*}} # If you use YP else : ${(A)_cache_groups:=${${(s: :)$( ) && [[ -n "$j" ]]; then + elif j=( "$i"/<1-> ) && [[ -n "$j" ]]; then _mh_cache=( "${_mh_cache[@]}" "$i" ) else _mbox_cache=( "${_mbox_cache[@]}" "$i"/*(.) ) - dirboxes=( $dirboxes $i/*(/) ) + dirboxes=( $dirboxes "$i"/*(/) ) fi done -- cgit 1.4.1