From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14022 invoked from network); 2 Nov 2001 10:34:21 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?XRBHI91MXF5S5yVJGt0dPZ9Cfq1Z07M7?@203.24.36.3) by ns1.primenet.com.au with SMTP; 2 Nov 2001 10:34:21 -0000 Received: (qmail 14573 invoked from network); 2 Nov 2001 10:34:19 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 2 Nov 2001 10:34:19 -0000 Received: (qmail 20085 invoked by alias); 2 Nov 2001 10:34:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16206 Received: (qmail 20068 invoked from network); 2 Nov 2001 10:34:11 -0000 From: Bart Schaefer Message-Id: <1011102103403.ZM3964@candle.brasslantern.com> Date: Fri, 2 Nov 2001 10:34:03 +0000 In-Reply-To: <14435.1004696502@csr.com> Comments: In reply to Peter Stephenson "Re: named directory bug" (Nov 2, 10:21am) References: <14435.1004696502@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Vincent Lefevre , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: named directory bug MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 2, 10:21am, Peter Stephenson wrote: } } You have RCEXPANDPARAM turned on. Turn the setopt into } emulate -L zsh } setopt xtrace } and it should work as expected. Except of course that the command in question is supposed to go into _main_complete, which needs RCEXPANDPARAM. Use eval "local +h nameddirs; nameddirs=(${(@kvq)^^nameddirs})" to disable RCEXPANDPARAM for that expansion only. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net