From: Ahmad Ismail <ismail783@gmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: zstyle tag-order completion issue
Date: Thu, 10 Sep 2020 02:17:25 +0600 [thread overview]
Message-ID: <CAHAhJwL3G44z_pM=sX6anjv4wReU7Fj2s0iCg6bPxhyeCnDuOw@mail.gmail.com> (raw)
In-Reply-To: <20200909180347.770c9f9e@tarpaulin.shahaf.local2>
[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]
Hi Daniel Shahaf,
Thank you very much for this kind reply.
*Best Regards,Ahmad Ismail*
On Thu, Sep 10, 2020 at 12:03 AM Daniel Shahaf <d.s@daniel.shahaf.name>
wrote:
> Ahmad Ismail wrote on Wed, 09 Sep 2020 18:33 +0600:
> > In git completion, I want ancillary-manipulator-commands tag first, then
> > ancillary-interrogator-commands tag, then rest of the tags.
> >
> > My following zstyle is showing ancillary-manipulator-commands tag first,
> > then ancillary-interrogator-commands tag, but then not showing rest of
> the
> > tags.
> >
> > zstyle -e ':completion::complete:git:argument-1:' tag-order '
> > reply=(
> > "ancillary-manipulator-commands
> > ancillary-interrogator-commands"
> > -
> > )
> > '
>
> This means: First, show a-m-commands and a-i-commands; and, because of
> the dash, show nothing else. So, just delete the solitary dash. Note:
> with that configuration, you'll have to invoke _next_tags (q.v.) in
> order to list completions from other tags.
>
> Incidentally, you can always simply «zstyle -e foo bar 'reply=(baz
> qux)'» to «zstyle foo bar baz qux». It's exactly equivalent.
>
> Note the quoting. «zstyle … tag-order 'foo bar'» and «zstyle …
> tag-order foo bar» are both valid, but have different meanings.
>
> Cheers,
>
> Daniel
>
[-- Attachment #2: Type: text/html, Size: 2552 bytes --]
next prev parent reply other threads:[~2020-09-09 20:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 12:33 Ahmad Ismail
2020-09-09 18:03 ` Daniel Shahaf
2020-09-09 20:17 ` Ahmad Ismail [this message]
2020-09-09 20:27 ` Ahmad Ismail
2020-09-09 23:37 ` Ahmad Ismail
2020-09-09 18:09 ` another issue with `git diff` (was: zstyle tag-order completion issue) Daniel Shahaf
2020-09-09 20:49 ` Ahmad Ismail
2020-09-09 20:58 ` Daniel Shahaf
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='CAHAhJwL3G44z_pM=sX6anjv4wReU7Fj2s0iCg6bPxhyeCnDuOw@mail.gmail.com' \
--to=ismail783@gmail.com \
--cc=d.s@daniel.shahaf.name \
--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).