Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Not finding named directories in subshells
- X-seq: zsh-workers 24226
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Not finding named directories in subshells
- Date: Thu, 13 Dec 2007 18:39:40 +0100
- 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=
- In-reply-to: <chaz20071213171857.GA24933@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0712130901s3fec250cu574e2be1c9a3ad51@xxxxxxxxxxxxxx> <chaz20071213171857.GA24933@xxxxxxxxxxxxx>
On 13/12/2007, Stephane Chazelas <stephane_chazelas@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author