mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-30 15:02:18 +01:00
add support for -R option (15402)
This commit is contained in:
parent
0f2919ceb1
commit
40f6510196
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-07-18 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 15402 (Akinora Musha): Completion/Unix/Command/_cvs: add
|
||||
support for -R option on BSDs
|
||||
|
||||
2001-07-17 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 15393 (Akinori Musha): Completion/Unix/Command/_chown: use
|
||||
|
|
|
@ -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]' \
|
||||
|
|
Loading…
Reference in a new issue