Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion order for approximate
- X-seq: zsh-users 26208
- From: "A. Wik" <awik32@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completion order for approximate
- Date: Fri, 4 Dec 2020 16:49:55 +0000
- Archived-at: <https://zsh.org/users/26208>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-12/CALPW7mQuicSDha2uSowhMmanxzV60xpTDXHDVXJoiKs4BAC3sw%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-lf1-f46.google.com) smtp.remote-ip=209.85.167.46; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JcvmG2c/jOgxFAB/qmxKBlO64tVuKrD3y/1gF6f1GRY=; b=tI68lunOO025YJ11+pL//KJZYv7BTtAq4vsWjrcOLS4G7nIC7Ud0/MoOJmPUM/hhbi puNO/WSnILxs0xyqYPlIW0saPXBqgW6iu/aaHtmKbXbR1J73eptHrM9UuhDztvfZRgsQ XYF6GA/hqUUGdx4Pp8j9sD5uamRyKOhqnqRpoY/t/9AFQdX8PnAgY/ysCbE/mWeEmTJm zpm4yi8gKaHah++yrxuMGYYHfloXFssRdEnzaOHIRkLJqlI165K3uGzBfOvjVQRl8mgy 7189WtiJOIGn7pfdATONyu94A89omm9pbAPjnsxAEHrd0kPCkpLCWSyHcYaET1kBZXYX usvw==
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- Sender: zsh-users-request@xxxxxxx
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author