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

prompt weirdness



I've got the following prompt setting:

PROMPT="%n@%m:%B%30<...<%~%b%(!.#.>) "

and it works great when I'm my normal
user (looks like: jeff@mother:~> ), but
when I su to root, which I have the following
function for:

su() { ZDOTDIR=/u/jeff command su "$@" -c zsh }

I am not seeing the # at the end. Instead, I
get only a single space after my home directory.

Why is this happening?

Jeff "Shippy" Shipman     E-Mail: shippy@xxxxxxx
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy



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