From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23395 invoked from network); 14 Oct 2006 21:20:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Oct 2006 21:20:25 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 82711 invoked from network); 14 Oct 2006 21:20:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Oct 2006 21:20:17 -0000 Received: (qmail 5696 invoked by alias); 14 Oct 2006 21:20:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10873 Received: (qmail 5687 invoked from network); 14 Oct 2006 21:20:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Oct 2006 21:20:09 -0000 Received: (qmail 81620 invoked from network); 14 Oct 2006 21:20:09 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 14 Oct 2006 21:20:09 -0000 Received: from torch.brasslantern.com ([71.116.118.106]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J75002IA9X45SW0@vms042.mailsrvcs.net> for zsh-users@sunsite.dk; Sat, 14 Oct 2006 16:19:53 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k9ELJpEB022543 for ; Sat, 14 Oct 2006 14:19:52 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k9ELJpxu022542 for zsh-users@sunsite.dk; Sat, 14 Oct 2006 14:19:51 -0700 Date: Sat, 14 Oct 2006 14:19:51 -0700 From: Bart Schaefer Subject: Re: _approximate without expansion In-reply-to: <20061014170413.GA4841@mollari.zhar.net> To: zsh users Message-id: <061014141951.ZM22541@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20061014170413.GA4841@mollari.zhar.net> Comments: In reply to John Eikenberry "_approximate without expansion" (Oct 14, 1:04pm) 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.