Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 3/4] docs: _wanted: Clarify the example and point to another one.
- X-seq: 49453
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH 3/4] docs: _wanted: Clarify the example and point to another one.
- Date: Mon, 27 Sep 2021 17:55:03 +0200
- Archived-at: <https://zsh.org/workers/49453>
- In-reply-to: <CAH+w=7Y0LtM=xt6K0+c14diCg2sRu1_jGfFHLmEDaJB4H4b64Q@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20210926084347.9927-1-danielsh@tarpaulin.shahaf.local2> <20210926084347.9927-3-danielsh@tarpaulin.shahaf.local2> <CAH+w=7Y0LtM=xt6K0+c14diCg2sRu1_jGfFHLmEDaJB4H4b64Q@mail.gmail.com>
Bart Schaefer wrote:
> On Sun, Sep 26, 2021 at 1:47 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > - compadd matches...)
> > + compadd -- var(match1) var(match2)...)
>
> Hmm ... I'm uncertain about using var() inside example(). This is
> going to render in "info" as
Also, note that listing no matches at all with compadd is still a
completely valid compadd command. This can be useful because you might
generate the list of candidate matches from a command and pass the list
straight to compadd without first checking whether any were generated.
Doesn't this updated usage imply that there must be at least one?
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author