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

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/;%/) $ '

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?



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