Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _arguments optspecs (was Re: Editing the history in the shell)
- X-seq: zsh-workers 45917
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: _arguments optspecs (was Re: Editing the history in the shell)
- Date: Mon, 25 May 2020 15:42:23 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <71744-1590427742.474587@WgsI.yCFx.n5vu>
- 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: <CAH+w=7ZFt7jshjv1FCEbmP_PgADvdKwymRutrzwJAvzNpsfOmA@mail.gmail.com> <20200523022807.08f3ba45@tarpaulin.shahaf.local2> <CAH+w=7aWxdY3KuTaYym1GiAowRRHBc=2AJPPgqOmN8G6L0xT2A@mail.gmail.com> <CAH+w=7ZxOQQCwzCzYm6NX1NP-HPspACV_Yf56b0O3VZP=jsfPA@mail.gmail.com> <71744-1590427742.474587@WgsI.yCFx.n5vu>
One other thing ...
On Mon, May 25, 2020 at 10:29 AM Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>
> '4:history size';;
Doc says:
The forms for ACTION are as follows.
(single unquoted space)
This is useful where an argument is required but it is not
possible or desirable to generate matches for it. The MESSAGE
will be displayed but no completions listed. Note that even
in this case the colon at the end of the MESSAGE is needed; it
may only be omitted when neither a MESSAGE nor an ACTION is
given.
That seems to imply that you can write "4:" or "4:history size: " but
not what you did write. Is the doc wrong?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author