* prompt bug?
@ 1999-09-26 21:36 Gabor
1999-09-27 6:20 ` Thomas Koehler
1999-10-01 14:37 ` Gabor
0 siblings, 2 replies; 4+ messages in thread
From: Gabor @ 1999-09-26 21:36 UTC (permalink / raw)
To: zsh-users
I discovered this interesting anomoly in my prompt
=== home/gabor $ cd /
=== / $ cd tmp
=== //tmp $
Interesting little extra slash there. Is zsh just trying to make sure
I know tmp is off root? My prompt is like
PS1='=== %(3/;%2/;%/) $ '
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: prompt bug?
1999-09-26 21:36 prompt bug? Gabor
@ 1999-09-27 6:20 ` Thomas Koehler
1999-10-01 14:37 ` Gabor
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Koehler @ 1999-09-27 6:20 UTC (permalink / raw)
To: Gabor; +Cc: zsh-users
On Sun, Sep 26, 1999 at 05:36:58PM -0400, Gabor wrote:
>
> I discovered this interesting anomoly in my prompt
>
> === home/gabor $ cd /
> === / $ cd tmp
> === //tmp $
>
> Interesting little extra slash there. Is zsh just trying to make sure
> I know tmp is off root? My prompt is like
>
> PS1='=== %(3/;%2/;%/) $ '
Can't reproduce this here:
jean-luc@picard (ttypts/16) ~> PS1='=== %(3/;%2/;%/) $ '
=== /home/jean-luc $ cd /
=== / $ cd tmp
=== /tmp $ cd /
=== / $ cd /tmp
=== /tmp $ echo $ZSH_VERSION
3.1.6
*uhm*
Which version are you running? 3.0.6?
CU,
Thomas
--
Thomas Köhler Email: jean-luc@picard.franken.de
<>< WWW: http://home.pages.de/~jeanluc/
IRC: jeanluc
LCARS --- Linux for Computers on All Real Starships
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: prompt bug?
1999-09-26 21:36 prompt bug? Gabor
1999-09-27 6:20 ` Thomas Koehler
@ 1999-10-01 14:37 ` Gabor
1999-10-02 5:23 ` Bart Schaefer
1 sibling, 1 reply; 4+ messages in thread
From: Gabor @ 1999-10-01 14:37 UTC (permalink / raw)
To: zsh-users
On Sun, Sep 26, 1999 at 05:36:58PM -0400, Gabor wrote:
# I discovered this interesting anomoly in my prompt
#
# === home/gabor $ cd /
# === / $ cd tmp
# === //tmp $
#
# Interesting little extra slash there. Is zsh just trying to make sure
# I know tmp is off root? My prompt is like
#
# PS1='=== %(3/;%2/;%/) $ '
Just a followup. This is still a bug in 3.1.6-pws-6. I originally
reported it on 3.1.6-pws-5. I also tested on 3.1.6 and it is the
same.
=== /home/gabor $ cd /
=== / $ cd tmp
=== //tmp $ print $ZSH_VERSION
3.1.6-pws-6
=== //tmp $ unsetopt chaselinks
=== //tmp $ cd /
=== / $ cd tmp
=== /tmp $
It's obviously affected by the setting of chaselinks. Any comments?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: prompt bug?
1999-10-01 14:37 ` Gabor
@ 1999-10-02 5:23 ` Bart Schaefer
0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 1999-10-02 5:23 UTC (permalink / raw)
To: Gabor, zsh-users
On Oct 1, 10:37am, Gabor wrote:
} Subject: Re: prompt bug?
}
} On Sun, Sep 26, 1999 at 05:36:58PM -0400, Gabor wrote:
} # I discovered this interesting anomoly in my prompt
} #
} # === home/gabor $ cd /
} # === / $ cd tmp
} # === //tmp $
} #
} # Interesting little extra slash there. Is zsh just trying to make sure
} # I know tmp is off root? My prompt is like
} #
} # PS1='=== %(3/;%2/;%/) $ '
}
} It's obviously affected by the setting of chaselinks. Any comments?
Have you looked at "echo $PWD" lately? It has two slashes as well in
that instance. The prompt is not what's messed up, the value of $PWD is.
If how this happened is obvious to anyone, speak up, otherwise I may get
a look at it eventually along with other "cd" related stuff.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-02 5:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-26 21:36 prompt bug? Gabor
1999-09-27 6:20 ` Thomas Koehler
1999-10-01 14:37 ` Gabor
1999-10-02 5:23 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).