zsh-workers
 help / color / mirror / code / Atom feed
From: "Mårten Svantesson" <msv@kth.se>
To: zsh-workers@sunsite.dk
Subject: Make the switch -R available for completion 'everywhere'
Date: Tue, 22 Nov 2005 11:45:25 +0100	[thread overview]
Message-ID: <h6br7992c6y.fsf@my.nada.kth.se> (raw)

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Hi!

I was disapointed the other day when the cvs completion didn't work. 
After looking in to it I realized the reason was that I used the
switch -R, which now is only specified for certain platforms. But
nowadays this switch is available 'everywhere'. So I fixed that and
here is the utterly simple patch.

By the way, I'm not subscribed to the list.

-- 
                - Mårten
 
mail: msv@kth.se *** ICQ: 4356928 *** mobile: +46 (0)707390385

[-- Attachment #2: Make the switch -R available everywhere --]
[-- Type: text/x-patch, Size: 415 bytes --]

--- old/_cvs	2005-11-21 01:18:18.000000000 +0100
+++ _cvs	2005-11-21 00:34:58.000000000 +0100
@@ -6,14 +6,9 @@
   local extra
 
   # "+Qqrwtnlvb:T:e:d:Hfz:s:xa"
-  case $OSTYPE in
-  freebsd*|openbsd*|dragonfly*)
-    extra='-R[read only access]'
-    ;;
-  esac
 
   _arguments -s \
-    $extra \
+    '-R[read only access]' \
     '-a[authenticate]' \
     '-f[disable .cvsrc]' \
     '(-n)-l[disable logging]' \

                 reply	other threads:[~2005-11-22 14:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=h6br7992c6y.fsf@my.nada.kth.se \
    --to=msv@kth.se \
    --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).