zsh-workers
 help / color / mirror / code / Atom feed
* Make the switch -R available for completion 'everywhere'
@ 2005-11-22 10:45 Mårten Svantesson
  0 siblings, 0 replies; only message in thread
From: Mårten Svantesson @ 2005-11-22 10:45 UTC (permalink / raw)
  To: zsh-workers

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

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

only message in thread, other threads:[~2005-11-22 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-22 10:45 Make the switch -R available for completion 'everywhere' Mårten Svantesson

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).