Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with named directories over the net
- X-seq: zsh-users 4582
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: d.vogt@xxxxxxxxxxx, zsh-users@xxxxxxxxxx
- Subject: Re: problem with named directories over the net
- Date: Fri, 11 Jan 2002 15:50:07 +0000
- In-reply-to: <20020111152849.G852@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020111134158.F852@xxxxxxxxxxx> <000501c19a9f$4af36ff0$21c9ca95@xxxxxxxxxxxxxx> <20020111152849.G852@xxxxxxxxxxx>
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.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author