diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-06-14 15:15:47 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-06-14 15:15:47 +0000 |
commit | 3f08496698a802f37235eab5e4b4e1debb5ef278 (patch) | |
tree | f08ff7d66be7faa12e85b1e7c4bdf3256d143177 /Completion/Unix | |
parent | 92d5a511bebd59e6e7035ee09a36141d8a35553e (diff) | |
download | zsh-3f08496698a802f37235eab5e4b4e1debb5ef278.tar.gz zsh-3f08496698a802f37235eab5e4b4e1debb5ef278.tar.xz zsh-3f08496698a802f37235eab5e4b4e1debb5ef278.zip |
21243: complete first option of svn subcmds.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_subversion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion index a3613f4a6..1f28ac2e4 100644 --- a/Completion/Unix/Command/_subversion +++ b/Completion/Unix/Command/_subversion @@ -92,7 +92,7 @@ _svn_subcommand () { _svn_subcmd_usage=${${(M)${(f)"$(LC_MESSAGES=C _call_program options svn help $1)"}:#usage:*}#usage: $1 } _svn_subcmds=( - ${${=${${${(M)${(f)"$(LC_MESSAGES=C _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]} + ${=${${${(M)${(f)"$(LC_MESSAGES=C _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]} ) case $1 in; @@ -174,7 +174,7 @@ _svnadmin_subcommand () { _svnadmin_subcmd_usage=${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin help $1)"}:#$1: usage:*}#$1: usage: svnadmin $1 } _svnadmin_subcmds=( - ${${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin 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]} + ${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin help $1)"##*Valid options:}:#*:*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ) [[ "$_svnadmin_subcmd_usage" == *REPOS_PATH* ]] && |