Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Patch for completion with svn 1.5.0
- X-seq: zsh-users 12508
- From: Christopher Key <cjk32@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Patch for completion with svn 1.5.0
- Date: Wed, 30 Jan 2008 13:37:54 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
The output of,
# svn help COMMAND
has changed slightly between 1.4.x and 1.5.0. The attached patch deals
with this.
Regards,
Chris Key
--- Completion/Unix/Command/_subversion~ 2007-03-19
13:02:49.000000000 +0000
+++ Completion/Unix/Command/_subversion 2008-01-30 12:12:48.000000000 +0000
@@ -30,7 +30,7 @@
usage=${${(M)${(f)"$(LC_ALL=C _call_program options svn help
$cmd)"}:#usage:*}#usage:*$cmd] }
args=(
- ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help
$cmd)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]])
\[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3]
(-$match[1])--$match[2]$match[3]}
+ ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help
$cmd)"##*Valid options:}:#* :*}%% #:*}/
(?:arg|ARG)/:arg:}/(#b)-([[:alpha:]])
\[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3]
(-$match[1])--$match[2]$match[3]}
)
case $cmd in;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author