From: John Eikenberry <jae@zhar.net>
To: zsh users <zsh-users@sunsite.dk>
Subject: Re: _approximate without expansion
Date: Sat, 14 Oct 2006 21:15:18 -0400 [thread overview]
Message-ID: <20061015011518.GC4841@mollari.zhar.net> (raw)
In-Reply-To: <061014141951.ZM22541@torch.brasslantern.com>
Bart Schaefer wrote:
> On Oct 14, 1:04pm, John Eikenberry wrote:
> }
> } With my current setup if I start with the correct partial string and
> } hit tab, it completes up to the point of ambiguity, pauses and if I
> } hit tab again it brings up a menu. But when I typo and _approximate
> } gets run it fixes the typo and completes the first of the possible
> } completions.
>
> zstyle ':completion::approximate*:*' insert-unambiguous yes
>
> Note that you need "approximate*" because the actual context is
> ":completion::approximate-N:::" where N is the number of corrections.
Perfect. I had tried insert-unambiguous, missed that * next to approximate.
Thanks.
--
John Eikenberry
[jae@zhar.net - http://zhar.net]
______________________________________________________________
"It is difficult to produce a television documentary that is both incisive
and probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling
prev parent reply other threads:[~2006-10-15 1:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-14 17:04 John Eikenberry
2006-10-14 21:19 ` Bart Schaefer
2006-10-15 1:15 ` John Eikenberry [this message]
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=20061015011518.GC4841@mollari.zhar.net \
--to=jae@zhar.net \
--cc=zsh-users@sunsite.dk \
/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).