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

Possible bug?



Well I am not sure if this is a bug or not, but I was able to reproduce
it on a few machines that all were in Y2K.

It has to do with the RPROMPT variable and strftime, I believe.

I have my RPROMPT set like this:

PROMPT='%n@%m: %~%(#.#.>) '
RPROMPT='[%D{%b %d, %G} / %t]'

And on the prompt, it displays this:

mike@mindcrime: ~>                            [Jan 01, 1999 / 3:04AM]

But date says this:

Sat Jan  1 03:04:42 PST 2000

- Mike

--
Mike Perez <mike@xxxxxx>
PGP fingerprint = 66 BF C5 DE 78 C6 01 63  76 D9 BF E7 70 24 55 50
"The difference between insanity and genius is only measured by success."



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