Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion: How to show description for current option?
- X-seq: zsh-users 27020
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: Marlon Richert <marlon.richert@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Completion: How to show description for current option?
- Date: Tue, 31 Aug 2021 10:22:44 -0700
- Archived-at: <https://zsh.org/users/27020>
- In-reply-to: <CAN=4vMqfQ5gSAjn==JRDxzs1WHMBrWasxnd9_2GSjEdo5KRQyw@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAHLkEDtFKQcbOAiABdO5ges98hByAnuhtqNVPPxZYNoJ8gH8Xw@mail.gmail.com> <CAN=4vMqfQ5gSAjn==JRDxzs1WHMBrWasxnd9_2GSjEdo5KRQyw@mail.gmail.com>
On Tue, Aug 31, 2021 at 4:11 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Tue, Aug 31, 2021 at 1:05 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
> >
> > If I type
> >
> > % git switch -c^D
> >
> > [...] I would like it to show all matching completions with descriptions:
>
> There is accept-exact style.
I don't think that applies here. Even if it did, wouldn't it have the
opposite effect of what he wants?
> You'll also need to arrange for
> --conflict to match against -c (this isn't true by default).
That might be all that's needed; a matcher-list entry that allows '-'
to become '--'. But I suspect there's something deeper going on in
the _git suite.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author