From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1135 invoked from network); 13 Dec 2007 17:44:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) 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.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Dec 2007 17:44:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 4989 invoked from network); 13 Dec 2007 17:39:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2007 17:39:48 -0000 Received: (qmail 26948 invoked by alias); 13 Dec 2007 17:39:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24226 Received: (qmail 26935 invoked from network); 13 Dec 2007 17:39:44 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Dec 2007 17:39:44 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id AF45A8058F56 for ; Thu, 13 Dec 2007 18:37:00 +0100 (CET) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 13 Dec 2007 18:37:00 +0100 (CET) Received: by nz-out-0506.google.com with SMTP id r28so478968nza.36 for ; Thu, 13 Dec 2007 09:39:41 -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=Q/b2ZQ2vDaLa/gfP1QNg2oRhaVpUbEv1wDReTx0Cnqs=; b=JkmMzy7dF8yS76uiaVCOETzNdYScXZ95jDYGfsLi4tiVLw0nYLzlXwHieveSosAhKZ1NPxf0OrOu+Bnjnudw/4X9KZDHRk3R4FwwXjCmxqOOLQybkTUOWN2CpMV519GgEJ9ocgxuBsmtIfHG/vXapkJyRqw4mpIGCcnSWpiLkdM= 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=CzWrHs+WbG3BKVEa13Yfql1ij7QkFqn7BxWlQjo6FnbaXDtJC/TSkrsZ/kMyVEDkJL7o4WDhwLRqA2JxhkSEH33QtiKzBJsU8t2WVFeDi5spdoMuIIwPLFBY0niGY0DL30sP5iZn1Jdq0e35NDEtR2Kn833S0Wp2dn4CMvye/X8= Received: by 10.141.51.15 with SMTP id d15mr1275185rvk.70.1197567580221; Thu, 13 Dec 2007 09:39:40 -0800 (PST) Received: by 10.140.170.20 with HTTP; Thu, 13 Dec 2007 09:39:40 -0800 (PST) Message-ID: <237967ef0712130939n3424863ci2317f0c886e01786@mail.gmail.com> Date: Thu, 13 Dec 2007 18:39:40 +0100 From: "Mikael Magnusson" To: zsh-workers Subject: Re: Not finding named directories in subshells In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <237967ef0712130901s3fec250cu574e2be1c9a3ad51@mail.gmail.com> X-Virus-Scanned: ClamAV using ClamSMTP On 13/12/2007, Stephane Chazelas wrote: > On Thu, Dec 13, 2007 at 06:01:03PM +0100, Mikael Magnusson wrote: > > {17:56:22|~}% cd ~pastebot/html > > {17:56:23|~pastebot/html}% zsh > > {17:56:25|/home/pastebot/html}% cd . > > {17:56:27|/home/pastebot/html}% cd $PWD > > {17:56:29|/home/pastebot/html}% cd .. > > {17:56:31|/home/pastebot}% cd ../pastebot > > {17:56:33|/home/pastebot}% cd /home/pastebot > > {17:56:36|/home/pastebot}% cd ~pastebot > > {17:56:36|~pastebot}% > > > > Putting hash -d -f in .zshenv fixes it, is this expected behaviour? > [...] > > See the description of the auto_name_dirs option in the manual > > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory > immediately becomes a name for that directory, that will be used > by the `%~' and related prompt sequences, and will be available > when completion is performed on a word starting with `~'. > (Otherwise, the parameter must be used in the form `~PARAM' first.) I don't see how this has anything to do with my issue though. -- Mikael Magnusson