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

Re: problem with named directories over the net



On Fri, Jan 11, 2002 at 03:50:07PM +0000, Bart Schaefer wrote:
> On Jan 11,  3:28pm, Dominik Vogt wrote:
> } Subject: Re: problem with named directories over the net
> }
> } > PS1="%~ %# "
> } 
> } No, I already have that im my prompt.  The problem is that only
> } "/home/luthien" is written as "~",
> } not "/net/server/share/home/luthien".
> 
> My "stupid zsh tricks" entry for the month:
> 
>     hash -d /=/net/server/share/home/luthien
> 
> This causes zsh to write /net/server/share/home/luthien as tilde-slash,
> which is pretty nearly indistinguishable from tilde.

> It means that
> sub-directories of your home directory will sometimes be displayed as
> ~//subdir, but maybe you can live with that.

Easily.  Thanks a lot!

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: d.vogt@xxxxxxxxxxx
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20



Messages sorted by: Reverse Date, Date, Thread, Author