Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion: How to show description for current option?
On Tue, Aug 31, 2021 at 1:05 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> If I type
>
> % git switch -c^D
>
> then completion shows only
>
> -c
>
> Instead, I would like it to show all matching completions with descriptions:
>
> --conflict change how conflicting hunks
> are presented
> --create -c create and switch to a new
> branch
>
> I want this even when there is only one matching option.
>
> How do I configure this?
There is accept-exact style. You'll also need to arrange for
--conflict to match against -c (this isn't true by default).
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author