Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
support new .cvspass format in _cvs.
- X-seq: zsh-workers 14377
- From: Tanaka Akira <akr@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: support new .cvspass format in _cvs.
- Date: 18 May 2001 03:19:13 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I found that .cvspass format is extended since cvs-1.11.1.
This patch support it in _cvs for completing cvsroots.
Index: Completion/Unix/Command/_cvs
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_cvs,v
retrieving revision 1.3
diff -u -r1.3 _cvs
--- Completion/Unix/Command/_cvs 2001/05/10 09:19:33 1.3
+++ Completion/Unix/Command/_cvs 2001/05/17 18:15:41
@@ -614,7 +614,7 @@
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
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author