From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Simon Olofsson <simon@olofsson.de>
Cc: zsh-workers@zsh.org
Subject: Re: PATCH: Fix completion for Subversion 1.7
Date: Fri, 16 Dec 2011 19:01:08 +0200 [thread overview]
Message-ID: <20111216170108.GA17896@daniel3.local> (raw)
In-Reply-To: <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
>
prev parent reply other threads:[~2011-12-16 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 15:46 Simon Olofsson
2011-12-16 17:01 ` Daniel Shahaf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111216170108.GA17896@daniel3.local \
--to=d.s@daniel.shahaf.name \
--cc=simon@olofsson.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).