From: "A. Wik" <awik32@gmail.com>
To: zsh-users@zsh.org
Subject: Completion order for approximate
Date: Fri, 4 Dec 2020 16:49:55 +0000 [thread overview]
Message-ID: <CALPW7mQuicSDha2uSowhMmanxzV60xpTDXHDVXJoiKs4BAC3sw@mail.gmail.com> (raw)
Hi all,
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'
Test case: grpo<tab>
% gprof
corrections (errors: 1)
gprof grog grotty groupdel groupmod growisofs grpconv
groff grops groupadd groupmems groups grpck grpunconv
original:
grpo
"grpo" is a mistyped "grep".
Regards,
Albert.
next reply other threads:[~2020-12-04 16:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 16:49 A. Wik [this message]
2020-12-04 17:00 ` Peter Stephenson
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=CALPW7mQuicSDha2uSowhMmanxzV60xpTDXHDVXJoiKs4BAC3sw@mail.gmail.com \
--to=awik32@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).