Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
prompt weirdness
- X-seq: zsh-users 3706
- From: Jeff Shipman <shippy@xxxxxxx>
- To: <zsh-users@xxxxxxxxxx>
- Subject: prompt weirdness
- Date: Tue, 20 Mar 2001 14:59:49 -0700 (MST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: New Mexico Institute of Mining and Technology
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