zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@zsh.org
Subject: Re: [patch] _ed completer
Date: Fri, 04 May 2018 15:00:51 +0200	[thread overview]
Message-ID: <8785.1525438851@thecus> (raw)
In-Reply-To: <20180503032226.GA26793@CptOrmolo.darkstar>

Matthew Martin wrote:
>
> +++ b/Completion/Unix/Command/_ed
> +  '(--prompt)'{-p,--prompt}'[specify prompt]:prompt: '

--prompt can exclude a following -p option and it is valid to have the
prompt immediately after -p or to have --prompt=. So, I think this line
can be:
  '(-p --prompt)'{-p+,--prompt=}'[specify prompt]:prompt'

> +  case $OSTYPE in
> +    dragonfly*|freebsd*|netbsd*)

 |solaris*

> +_arguments -s -S -A '-*' \

The -A '-*' option is not applicable to the GNU variant. It's fairly
common that GNU stuff allows options after normal arguments while
traditional Unix stuff doesn't.

Thanks

Oliver


  reply	other threads:[~2018-05-04 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03  3:22 Matthew Martin
2018-05-04 13:00 ` Oliver Kiddle [this message]
2018-06-11  4:01   ` Matthew Martin
2018-06-11  4:26     ` Matthew Martin

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=8785.1525438851@thecus \
    --to=okiddle@yahoo.co.uk \
    --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).