]>
Commit | Line | Data |
---|---|---|
ec39e937 | 1 | --- _subversiona 2004-09-24 01:55:00.000000000 +0200 |
2 | +++ Completion/Unix/Command/_subversion 2004-10-10 21:51:34.000000000 +0200 | |
3 | @@ -41,7 +41,7 @@ | |
4 | if (( ! $+_svn_cmds )); then | |
5 | typeset -gA _svn_cmds | |
6 | _svn_cmds=( | |
7 | - ${=${(f)${${"$(_call_program commands svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:} | |
8 | + ${=${(f)${${"$(_call_program commands LANG=C svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:} | |
9 | ) | |
10 | fi | |
11 | ||
12 | @@ -64,10 +64,10 @@ | |
13 | _svn_subcommand () { | |
14 | local subcmd _svn_subcmds _svn_subcmd_usage | |
15 | ||
16 | - _svn_subcmd_usage=${${(M)${(f)"$(_call_program options svn help $1)"}:#usage:*}#usage: $1 } | |
17 | + _svn_subcmd_usage=${${(M)${(f)"$(_call_program options LANG=C svn help $1)"}:#usage:*}#usage: $1 } | |
18 | ||
19 | _svn_subcmds=( | |
20 | - ${${=${${${(M)${(f)"$(_call_program options svn help $1)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}[2,-1]} | |
21 | + ${${=${${${(M)${(f)"$(_call_program options LANG=C svn help $1)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}[2,-1]} | |
22 | ) | |
23 | ||
24 | case $1 in; |