From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19883 invoked from network); 4 Nov 2004 11:57:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Nov 2004 11:57:21 -0000 Received: (qmail 81853 invoked from network); 4 Nov 2004 11:57:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 11:57:16 -0000 Received: (qmail 23797 invoked by alias); 4 Nov 2004 11:56:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8165 Received: (qmail 23784 invoked from network); 4 Nov 2004 11:56:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Nov 2004 11:56:26 -0000 Received: (qmail 80580 invoked from network); 4 Nov 2004 11:56:25 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 11:56:24 -0000 Received: from 212.red-80-35-44.pooles.rima-tde.net ([80.35.44.212]:59870 helo=dervishd.net) by ns9.hostinglmi.net with esmtpa (Exim 4.43) id 1CPgE4-0002M9-If; Thu, 04 Nov 2004 12:56:24 +0100 Date: Thu, 4 Nov 2004 12:58:57 +0100 From: DervishD To: Peter Stephenson Cc: Zsh Users Subject: Re: Tilde expansion and completion again Message-ID: <20041104115857.GB23778@DervishD> Mail-Followup-To: Peter Stephenson , Zsh Users References: <20041104105225.GA23709@DervishD> <11193.1099566059@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <11193.1099566059@csr.com> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi Peter :) * Peter Stephenson dixit: > > This is short: why aren't PWD and OLDPWD stored in $nameddirs > > until a 'cd' command is issued? Why aren't the rest of parameters > > whose value starts with a slash stored directly in $nameddirs > > withouth the need to call 'hash -d'? > setopt autonamedirs > (you need to cd at least once afterwards for it to spot the change). I had it set, and my problem is exactly that: I must issue a cd once to get them stored :( That means that some of my completion code won't work as expected if I don't do a cd :( I'll do a 'cd .' in the completion widget or I'll make sure I have done the 'hash -d' in my RC files. Thanks a lot for your help :)) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/