Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [patch] _ed completer
- X-seq: zsh-workers 42747
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [patch] _ed completer
- Date: Fri, 04 May 2018 15:00:51 +0200
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1525476389; bh=0K9OzeY4Oo53MtMXLQx6zB7dvUoWT6+VTzw2zW8JqR0=; h=From:References:To:Subject:Date:From:Subject; b=elTJFIAzUguYVPkHBysC14MCPWVEXDoXZgTA1yeepcjCsUSVGIDN5pIDyHK3Vo3wQQtZfv4cDmKM3YjaKTfAtAcBDioqJ6WkQKOKYvlyq4QMZ5M2kJwFDBwwO7m2+zejX2ATWob1gCivjlrfLYgzVwAEHNqHcCXnLO6sjaDrGdBFJTJwcTDu6VpswfpT7Q+sUbpuhmPzeGvOu9lG8eWZOdVvJqKgzT7ZjxdQ99KdM9aPPpRPaL70eiq+/EWumtwpuEXaZKKRdbBZwPgNObun7Y+rL5zMPlohljDGdWZMxVlLAIMigk/2ap+d+98V01B1Umeqllz99SPharWZhL67Ug==
- In-reply-to: <20180503032226.GA26793@CptOrmolo.darkstar>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author