diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2001-05-17 18:21:06 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2001-05-17 18:21:06 +0000 |
commit | 851f32f14a1452ae778c92eddab910f120587d9f (patch) | |
tree | 062158474b9addbafa9dbb6302320cee13149990 /Completion/Unix | |
parent | e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27 (diff) | |
download | zsh-851f32f14a1452ae778c92eddab910f120587d9f.tar.gz zsh-851f32f14a1452ae778c92eddab910f120587d9f.tar.xz zsh-851f32f14a1452ae778c92eddab910f120587d9f.zip |
* 14377: Completion/Unix/Command/_cvs: support new .cvspass format
introduced by cvs-1.11.1.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_cvs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs index e46c2f0b5..13f60194c 100644 --- a/Completion/Unix/Command/_cvs +++ b/Completion/Unix/Command/_cvs @@ -614,7 +614,7 @@ _cvs_root () { id="$(LC_ALL=C ls -l "$cvspassfile")" fi if [[ "$id" != "$_cvs_pass_id" ]]; then - _cvs_roots=($_cvs_roots ${${(f)"$(<$cvspassfile)"}%% *}) + _cvs_roots=($_cvs_roots ${${${${(f)"$(<$cvspassfile)"}#/1 }%% *}/:2401\\//:/}) _cvs_pass_id="$id" fi fi |