Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _approximate without expansion
- X-seq: zsh-users 10876
- From: John Eikenberry <jae@xxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: _approximate without expansion
- Date: Sat, 14 Oct 2006 21:15:18 -0400
- In-reply-to: <061014141951.ZM22541@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: John Eikenberry <jae@xxxxxxxx>, zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20061014170413.GA4841@xxxxxxxxxxxxxxxx> <061014141951.ZM22541@xxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxx - 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author