zsh-workers
 help / color / mirror / code / Atom feed
* support new .cvspass format in _cvs.
@ 2001-05-17 18:19 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2001-05-17 18:19 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-17 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-17 18:19 support new .cvspass format in _cvs Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).