Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
a tiny patch for _cvs
- X-seq: zsh-workers 15402
- From: "Akinori MUSHA" <knu@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: a tiny patch for _cvs
- Date: Wed, 18 Jul 2001 01:19:06 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Associated I. Daemons
Hello again,
We found that the compdef for cvs(1) didn't grok the -R option, which
had been introduced by FreeBSD (and later adopted by OpenBSD) quite
some time ago.
As the option is very useful for resolving the permission issue and
improving the performance over NFS or SSH, we really get used to it.
We'd appreciate if you could kindly merge the attached patch.
Regards,
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"Freeze this moment a little bit longer, make each impression
a little bit stronger.. Experience slips away -- Time stand still"
--- _cvs.orig Wed Jul 18 00:52:28 2001
+++ _cvs Wed Jul 18 00:54:02 2001
@@ -3,8 +3,17 @@
# redefine _cvs.
_cvs () {
+ local extra
+
# "+Qqrwtnlvb:T:e:d:Hfz:s:xa"
+ case $OSTYPE in
+ freebsd*|openbsd*)
+ extra='-R[read only access]'
+ ;;
+ esac
+
_arguments -s \
+ $extra \
'-a[authenticate]' \
'-f[disable .cvsrc]' \
'(-n)-l[disable logging]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author