From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12028 invoked from network); 1 May 2006 09:39:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) 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,UNPARSEABLE_RELAY autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 May 2006 09:39:35 -0000 Received: (qmail 90411 invoked from network); 1 May 2006 09:39:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 May 2006 09:39:30 -0000 Received: (qmail 12184 invoked by alias); 1 May 2006 09:39:18 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10195 Received: (qmail 12175 invoked from network); 1 May 2006 09:39:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 May 2006 09:39:17 -0000 Received: (qmail 88848 invoked from network); 1 May 2006 09:39:17 -0000 Received: from caly80.spider.com (194.217.109.12) by a.mx.sunsite.dk with SMTP; 1 May 2006 09:39:16 -0000 Received: from no.name.available by caly80.spider.com via smtpd (for [130.225.247.86] [130.225.247.86]) with ESMTP; Mon, 1 May 2006 10:39:16 +0100 Received: from mailhub.spider.com (mailhub.spider.com [212.240.99.13]) by caly80.spider.com (Postfix) with ESMTP id 899CF6F86 for ; Mon, 1 May 2006 10:39:13 +0100 (BST) Received: from mailhub.spider.com by mailhub.spider.com via smtpd (for [172.16.254.22] [172.16.254.22]) with ESMTP; Mon, 1 May 2006 10:39:13 +0100 Received: from localhost (ant.spider.com [212.240.99.74]) by batistuta.spider.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JH970G1S; Mon, 1 May 2006 10:38:52 +0100 Date: Mon, 1 May 2006 10:40:06 +0100 From: Stephane Chazelas To: zsh-users@sunsite.dk Subject: Re: zsh versus tcsh's "complete=enhance" Message-ID: <20060501094006.GA6559@artesyncp.com> Mail-Followup-To: zsh-users@sunsite.dk References: <20060430160105.GA32338@tuva.opensoft.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060430160105.GA32338@tuva.opensoft.se> User-Agent: mutt-ng/devel-r562 (Linux) On Sun, Apr 30, 2006 at 06:01:05PM +0200, Jörgen Grahn wrote: > Hi, > > Before I switched from tcsh (used it for approximately fifteen years) to zsh, > I depended heavily on the complete=enhance setting. From tcsh(1): > > If the complete shell variable is set to enhance', completion 1) ignores > case and 2) considers periods, hyphens and underscores (.', -' and _') > to be word separators and hyphens and underscores to be equivalent. > > For example, ~/News/c.o.l.an might expand to ~/News/Comp.os.linux.announce. > And it works on commands too: s_ad expands to ssh-add. [...] Go through compinstall again, there's a menu entry exactly for that (menu entry "2", then "p" for partial matching, you can specify the characters). Search for "partial-word completion" in the manual. -- Stephane