From 851f32f14a1452ae778c92eddab910f120587d9f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 17 May 2001 18:21:06 +0000 Subject: [PATCH] * 14377: Completion/Unix/Command/_cvs: support new .cvspass format introduced by cvs-1.11.1. --- ChangeLog | 5 +++++ Completion/Unix/Command/_cvs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b60a20631..2cf10df19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-17 Tanaka Akira + + * 14377: Completion/Unix/Command/_cvs: support new .cvspass format + introduced by cvs-1.11.1. + 2001-05-17 Peter Stephenson * 14376: Completion/Unix/Command/_lp: type with compset. 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