Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with named directories over the net
- X-seq: zsh-users 4578
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: problem with named directories over the net
- Date: Fri, 11 Jan 2002 15:28:49 +0100
- In-reply-to: <000501c19a9f$4af36ff0$21c9ca95@xxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Fri, Jan 11, 2002 at 03:55:48PM +0300
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020111134158.F852@xxxxxxxxxxx> <000501c19a9f$4af36ff0$21c9ca95@xxxxxxxxxxxxxx>
- Reply-to: d.vogt@xxxxxxxxxxx
On Fri, Jan 11, 2002 at 03:55:48PM +0300, Borsenkow Andrej wrote:
>
> >
> > I like to shorten my prompt by using '~' instead of the full path
> > to my home directory. For example:
> >
> > / $ cd ~/bin
> > ~/bin $
> >
> > Now the problem occurs when I fire up mc. Upon leaving mc, a
> > script from the mc documentation cds into the current path and I
> > get something like
> >
> > /net/server/share/home/luthien/bin $
> >
> > as the prompt because this is where my home directory comes from.
> > /home is a symbolic link to /net/server/share/home. Any idea how
> > I can prevent this?
> >
>
> PS1="%~ %# "
>
> Is it what you want?
No, I already have that im my prompt. The problem is that only
"/home/luthien" is written as "~",
not "/net/server/share/home/luthien".
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