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

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@xxxxxxxxxxxxxxxxx
        <><           WWW:    http://home.pages.de/~jeanluc/
                      IRC:               jeanluc
      LCARS --- Linux for Computers on All Real Starships



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