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 | |
parent | 936208bd9f36c7705ed0dd0966551b57a29d40a5 (diff) | |
download | zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.gz zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.tar.xz zsh-33aca1ff6ce316633eb25619e2d9fccf1c029cac.zip |
19696: quoting of existing CVS-managed files was wrong
Diffstat (limited to 'Completion/Unix/Command')
-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] )) || |