zsh-workers
 help / color / mirror / code / Atom feed
From: "Akinori MUSHA" <knu@iDaemons.org>
To: zsh-workers@sunsite.dk
Subject: a tiny patch for _cvs
Date: Wed, 18 Jul 2001 01:19:06 +0900	[thread overview]
Message-ID: <86zoa3jzph.wl@archon.local.idaemons.org> (raw)

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]' \


             reply	other threads:[~2001-07-17 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 16:19 Akinori MUSHA [this message]
2001-07-18  7:10 ` Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zoa3jzph.wl@archon.local.idaemons.org \
    --to=knu@idaemons.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).