From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-users@zsh.org
Subject: Re: Completion order for approximate
Date: Fri, 4 Dec 2020 17:00:24 +0000 (GMT) [thread overview]
Message-ID: <611239356.1973489.1607101224170@mail2.virginmedia.com> (raw)
In-Reply-To: <CALPW7mQuicSDha2uSowhMmanxzV60xpTDXHDVXJoiKs4BAC3sw@mail.gmail.com>
> On 04 December 2020 at 16:49 "A. Wik" <awik32@gmail.com> wrote:
> I'm trying to set up the approximate expansion so that the original
> string comes before the corrections in the menu.
>
> This doesn't work:
> zstyle ':completion:*:approximate:*' tag-order 'original corrections'
You need:
zstyle ':completion:*:approximate:*' group-order original corrections
--- note also no quotes. See group-order in the zshcompsys manual for more.
tag-order specifies the order completions are looked for, not the order they're
displayed in. To specify an order, you need separate words on the command line;
values in the same set of quotes are treated as being together (sometimes useful
for tag-order, not for group-order).
pws
next prev parent reply other threads:[~2020-12-04 17:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 16:49 A. Wik
2020-12-04 17:00 ` Peter Stephenson [this message]
2020-12-05 14:08 ` A. Wik
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=611239356.1973489.1607101224170@mail2.virginmedia.com \
--to=p.w.stephenson@ntlworld.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).