From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Marlon Richert <marlon.richert@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Completion: How to show description for current option?
Date: Tue, 31 Aug 2021 13:11:15 +0200 [thread overview]
Message-ID: <CAN=4vMqfQ5gSAjn==JRDxzs1WHMBrWasxnd9_2GSjEdo5KRQyw@mail.gmail.com> (raw)
In-Reply-To: <CAHLkEDtFKQcbOAiABdO5ges98hByAnuhtqNVPPxZYNoJ8gH8Xw@mail.gmail.com>
On Tue, Aug 31, 2021 at 1:05 PM Marlon Richert <marlon.richert@gmail.com> 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.
next prev parent reply other threads:[~2021-08-31 11:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 11:03 Marlon Richert
2021-08-31 11:11 ` Roman Perepelitsa [this message]
2021-08-31 17:22 ` Bart Schaefer
2021-08-31 17:39 ` Roman Perepelitsa
2021-09-01 0:23 ` Bart Schaefer
2021-09-01 11:27 ` Marlon Richert
2021-09-02 20:08 ` Oliver Kiddle
2021-09-02 20:41 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN=4vMqfQ5gSAjn==JRDxzs1WHMBrWasxnd9_2GSjEdo5KRQyw@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=marlon.richert@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).