From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14618 invoked from network); 29 Feb 2008 21:23:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Feb 2008 21:23:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 79077 invoked from network); 29 Feb 2008 21:23:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Feb 2008 21:23:47 -0000 Received: (qmail 10466 invoked by alias); 29 Feb 2008 21:23:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24639 Received: (qmail 10451 invoked from network); 29 Feb 2008 21:23:45 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 29 Feb 2008 21:23:45 -0000 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5ECB98026E0B for ; Fri, 29 Feb 2008 22:23:41 +0100 (CET) Received: by wr-out-0506.google.com with SMTP id c49so6471164wra.21 for ; Fri, 29 Feb 2008 13:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=oAUGe36gp1twAIvO/nJB44+KkJe0mAvNTTM8aSJlMJk=; b=drBPYvCYASmrgXHYTszBsF5liMZEQO7c34hGW/VEmmmzWnrm916Bwiv8XGpO0NEhd1bqUjxDBssJNvjwsONHoW16PMiNc8gFqPyp7e/tumC6uqghHxc2TGUVD+gSnFvYDEdgZRNfE/MfNqNYf8xKbJpzPMgr9gDRxTkvREf7n44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dllXGtu1UpakkBk5AljM6eTIGZM522jPWnZqK1hAqFVIbAqzB/qeITUWS/y8sX+dhjJ9gzQqmcPd3f5RlJGw5CSJcRAETBlP5DcdV8HhM71a6CRwVPm+TSrcqHgw/Tsn1Zb/ioTJJZVIZ2pFCMCGqNU9Y3Yggi019miVZWfUwSE= Received: by 10.141.88.3 with SMTP id q3mr6741912rvl.94.1204320218106; Fri, 29 Feb 2008 13:23:38 -0800 (PST) Received: by 10.140.127.7 with HTTP; Fri, 29 Feb 2008 13:23:38 -0800 (PST) Message-ID: <237967ef0802291323o1bb68417v358deb406700c7da@mail.gmail.com> Date: Fri, 29 Feb 2008 22:23:38 +0100 From: "Mikael Magnusson" To: zsh-workers@sunsite.dk Subject: Re: Making built-in completion recognize : as word boundary In-Reply-To: <20080229221711.7729241b@buddha> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080229221711.7729241b@buddha> X-Virus-Scanned: ClamAV 0.91.2/6047/Fri Feb 29 19:51:13 2008 on bifrost X-Virus-Status: Clean On 29/02/2008, Matthias B. wrote: > Something that's been bothering me for years now with zsh is that the > built-in completion can't complete > > PATH=/usr/bin:/sb > > presumably because it doesn't consider the colon a word boundary. Could > someone please point me at the code responsible so that I can fix this. > > MSB > > p.s.: I know that the function-based completion system doesn't have this > problem, but I don't want to use it. path=(/usr/bin /sb should work fine i think. You can also make more of these automagic paired variables with some argument to typeset. typeset -T MYVAR myvar myvar=(do re mi) echo $MYVAR do:re:mi I know that doesn't answer your actual question, but maybe it's useful as a workaround. -- Mikael Magnusson