zsh-users
 help / color / mirror / code / Atom feed
From: Jeff Shipman <shippy@nmt.edu>
To: <zsh-users@sunsite.dk>
Subject: prompt weirdness
Date: Tue, 20 Mar 2001 14:59:49 -0700 (MST)	[thread overview]
Message-ID: <Pine.LNX.4.31.0103201457480.8340-100000@neptune> (raw)

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@nmt.edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy


             reply	other threads:[~2001-03-20 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-20 21:59 Jeff Shipman [this message]
2001-03-22  5:44 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.31.0103201457480.8340-100000@neptune \
    --to=shippy@nmt.edu \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).