Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Named directories
- X-seq: zsh-users 8534
- From: Mika Seppänen <cooz@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Named directories
- Date: Mon, 21 Feb 2005 16:51:33 +0200
- In-reply-to: <200502211431.j1LEVEJe015971@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2e24629722633f291ea82664e14cbc5d@xxxxxxxxxx> <200502211431.j1LEVEJe015971@xxxxxxxxxxxxxx>
21.2.2005 kello 16:31, Peter Stephenson wrote:
You need to refer to "~work" at least once; the usual trick is to put
: ~work
in your .zshrc after defining the directory. You can also "setopt
autonamedirs" to make all such parameters eligible for this
replacement.
I found that by reading manuals and using google, but It doesn't help.
I get following: (PS1=%s\> and option autonamedirs unset, though seting
it doesn't change situation in anyway)
~>cd work
~/Projektit/rnd/ott/sip.imp
~/Projektit/rnd/ott/sip.imp>pwd
/Users/c8z/Projektit/rnd/ott/sip.imp
~/Projektit/rnd/ott/sip.imp>cd foo
~foo
~foo>pwd
/usr/local/etc
~foo>
(zsh 4.1.1 on Mac OS X)
Mika
Messages sorted by:
Reverse Date,
Date,
Thread,
Author