From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13227 invoked from network); 26 Jun 2001 11:07:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jun 2001 11:07:28 -0000 Received: (qmail 19079 invoked by alias); 26 Jun 2001 11:06:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3950 Received: (qmail 19059 invoked from network); 26 Jun 2001 11:06:20 -0000 MIME-Version: 1.0 From: Vincent Lefevre To: zsh-users@sunsite.auc.dk Date: Tue, 26 Jun 2001 13:06:55 +0200 Subject: Re: [zsh 4.0.1 bug] filename completion Message-ID: <4a90a3eafbvincent@vinc17.org> In-Reply-To: <001101c0fe2a$c6721260$21c9ca95@mow.siemens.ru> References: <4a909ec873vincent@vinc17.org> <001101c0fe2a$c6721260$21c9ca95@mow.siemens.ru> User-Agent: Pluto/2.02e (RISC-OS/4.02) POPstar/2.03 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit On 26 Jun, Andrej Borsenkow wrote: > It is. It makes no difference if one is named directory and other a file as > long as 'cd soft' works. And 'soft' *is* exact match for 'soft'. OK, you're right. But then, "cd so" should complete to "cd soft" (and not "cd software"), then give the choice between "soft" (because it is a named directory) and "software" (directory in the cwd). In fact, just like if CD_ABLE_VARS added a special virtual directory to the cdpath, containing the named directories. BTW, can I define an alias "c." in such a way that it behaves as if cdpath were (.), or as "cd ./"? -- Vincent Lefèvre - Web: - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA