Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Named directories



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