Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Make the switch -R available for completion 'everywhere'
- X-seq: zsh-workers 22011
- From: Mårten Svantesson <msv@xxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Make the switch -R available for completion 'everywhere'
- Date: Tue, 22 Nov 2005 11:45:25 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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@xxxxxx *** ICQ: 4356928 *** mobile: +46 (0)707390385
--- 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]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author