diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-28 05:45:11 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-28 05:45:11 +0000 |
commit | 3c6503966fa1c30ee7379371fa6cde85cb38f3b5 (patch) | |
tree | 91d9fcb54c5092ee68a60ad032bca0865740f0f9 | |
parent | bce10fe67bd3d60acc756b46fd194a4d0d92d72c (diff) | |
download | zsh-3c6503966fa1c30ee7379371fa6cde85cb38f3b5.tar.gz zsh-3c6503966fa1c30ee7379371fa6cde85cb38f3b5.tar.xz zsh-3c6503966fa1c30ee7379371fa6cde85cb38f3b5.zip |
zsh-workers:7301
-rw-r--r-- | Completion/User/_cvs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs index ac4f9577c..7e0a41c0f 100644 --- a/Completion/User/_cvs +++ b/Completion/User/_cvs @@ -309,13 +309,12 @@ _cvsaddp () { if [[ -d ${pref}CVS ]]; then _cvsentries setopt localoptions unset - local all omit - all=( ${pref}*~${pref}CVS(D:t) ) + local omit omit=( CVS $entries ${=cvsignore} ) [[ -r ~/.cvsignore ]] && omit=( $omit $(<~/.cvsignore) ) [[ -r ${pref}.cvsignore ]] && omit=( $omit $(<${pref}.cvsignore) ) - compgen -g '*~(*/|)('${(j:|:)omit:q}')' || - { _cvsdirentries; compgen -g '('${(j:|:)entries:q}')' } + compgen -g '*~(*/|)('${(j:|:)omit:q}')(D)' || + { _cvsdirentries; compgen -g '('${(j:|:)entries:q}')(D)' } else _files fi |