From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3013 invoked from network); 2 May 2004 04:49:18 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by ns1.primenet.com.au with SMTP; 2 May 2004 04:49:18 -0000 Received: (qmail 27188 invoked from network); 2 May 2004 04:48:39 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 May 2004 04:48:39 -0000 Received: (qmail 6224 invoked by alias); 2 May 2004 04:48:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7429 Received: (qmail 6205 invoked from network); 2 May 2004 04:48:28 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 2 May 2004 04:48:25 -0000 Received: (qmail 26437 invoked by uid 1002); 2 May 2004 04:48:25 -0000 Received: from wbar3.sjo1-4-11-009-147.sjo1.dsl-verizon.net (HELO candle.brasslantern.com) (4.11.9.147) by a.mx.sunsite.dk with SMTP; 1 May 2004 21:37:19 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i41LbHX02903 for zsh-users@sunsite.dk; Sat, 1 May 2004 14:37:17 -0700 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040501213717.ZM2902@candle.brasslantern.com> Date: Sat, 1 May 2004 21:37:17 +0000 In-Reply-To: <1595F0B2-9B97-11D8-B942-000502631FBD@louisville.edu> Comments: In reply to Aaron Davies "Named Dirs Not Registered for Completion Until Used" (May 1, 1:43pm) References: <1595F0B2-9B97-11D8-B942-000502631FBD@louisville.edu> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: Named Dirs Not Registered for Completion Until Used MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Status: Yes, hits=7.7 required=6.0 tests=BAYES_44,RCVD_IN_DYNABLOCK, RCVD_IN_NJABL,RCVD_IN_NJABL_DIALUP,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 7.7 On May 1, 1:43pm, Aaron Davies wrote: } } hash -d palmfiles=~/Documents/Palm/Users/Aaron\ Davies/Files\ to\ Install } } but according to the zsh docs, I shouldn't have to do this. Can you give the citation from the docs that says so? I think you may be misunderstanding the doc, but it could be that the doc is wrong. What you should be able to do is zsh% cd ~palmfiles/ and see a listing of the subdirs in that directory, without first having to have used ~palmfiles. But completing the parameter name of the named directory without first using it has not to my knowledge ever worked, unless you "setopt autonamedirs" so that the named directory springs into existence as soon as you assign to it. (I don't know whether that works with exported variables when imported by new shells, though.)