From 851f32f14a1452ae778c92eddab910f120587d9f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 17 May 2001 18:21:06 +0000 Subject: * 14377: Completion/Unix/Command/_cvs: support new .cvspass format introduced by cvs-1.11.1. --- Completion/Unix/Command/_cvs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_cvs') 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 -- cgit 1.4.1