diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-03 11:34:56 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-03 11:34:56 +0000 |
| commit | 33aca1ff6ce316633eb25619e2d9fccf1c029cac (patch) | |
| tree | 764e0cca27c672ecffba3435ca6c2f31c34947b8 /Completion/Unix/Command/_cvs | |
| parent | 18769: handle parse errors in autoload functions properly (diff) | |
| download | zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.gz zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.bz2 zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.lz zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.xz zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.zst zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.zip | |
19696: quoting of existing CVS-managed files was wrong
Diffstat (limited to 'Completion/Unix/Command/_cvs')
| -rw-r--r-- | Completion/Unix/Command/_cvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs index c2ddb2e2c..8082b7336 100644 --- a/Completion/Unix/Command/_cvs +++ b/Completion/Unix/Command/_cvs @@ -912,8 +912,8 @@ _cvs_existing_entries () { linedir="$match[1]" realdir=${(e)~linedir} [[ -f "$realdir"CVS/Entries ]] && - [[ -n ${pat::="${(@j:|:)${(@)${(@)${(@)${(@M)${(@f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}}"} ]] && - _wanted files expl file _path_files -g "$pat" + pat=(${(@)${(@)${(@M)${(@f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}%%/*}) + (( ${#pat} )) && _wanted files expl file _path_files -a pat } (( $+functions[_cvs_modified_entries] )) || |
