Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Fix completion for Subversion 1.7
- X-seq: zsh-workers 30029
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Simon Olofsson <simon@xxxxxxxxxxx>
- Subject: Re: PATCH: Fix completion for Subversion 1.7
- Date: Fri, 16 Dec 2011 19:01:08 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= ui/PDWl4zreA8P4vLs+qVm4Mi/8=; b=e1HJvu/DjF6T8dSvbmYOHvyytLQILYH3 0Pjf5WIA+lt7UExIpZvq+K7R+KEgKMVppKZWzZ/YkcsRA7n9er4laICQ9a2Il9ra QY4TGEzeNfteN4MYstVhJysicOk4lyymreNHYo062QqbWz3VTJCtrgrtJB4q05SY z7Zshz/Th6A=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=ui/PDWl4zreA8P4vLs+qVm4Mi/8=; b=Pv1lleU/5EY3i/elHZhUUayQhbZ2 F4kSGsxe1IskNhOKQ+VINJZsdpbEinPVTm3o5TNxdayOTeZoTv6AjIPHORwL5wL1 USLznL/7EEwlmfAyS79axqkpzRe6sw8Qa8IubP8kN9uidhiOW0bPZB/Yo/jsc/Wj KeylnMSJg+7b/2c=
- In-reply-to: <jcd4nq$q48$1@dough.gmane.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <jcd4nq$q48$1@dough.gmane.org>
Simon Olofsson wrote on Thu, Dec 15, 2011 at 16:46:01 +0100:
> - ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|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:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)(-##)([[:alpha:]]##) \[--([a-z-]##)\](:arg:)#/(--$match[3])$match[1]$match[2]$match[4] ($match[1]$match[2])--$match[3]$match[4]}
> )
Is ([a-z-]##) correct? Does it catch --diff3-cmd?
> _store_cache svn-${cmd}-args args
> fi
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author