zsh-users
 help / color / mirror / code / Atom feed
From: Steve Reid <sreid@sea-to-sky.net>
To: John Galbraith <john@bartok.lanl.gov>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: PS1 corrupted through "su"
Date: Mon, 3 Jan 2000 10:10:55 -0800	[thread overview]
Message-ID: <20000103101054.A420@grok.localnet> (raw)
In-Reply-To: <14448.55754.322294.62194@bartok.lanl.gov>; from John Galbraith on Mon, Jan 03, 2000 at 10:25:56AM -0700

On Mon, Jan 03, 2000 at 10:25:56AM -0700, John Galbraith wrote:
> export PS1="%(?.${yellow}.${red})%~%(!.${red}#.${cyan}%%)${normal} "
> This works great, until I su root.
[snip]
> If I then start a new shell as root (by typing "zsh"), things work as
> expected.

Root's shell being set to something other than zsh would cause the
behavior you're seeing.

You've probably checked that already, but sometimes the obvious things
are the easiest to forget.


  parent reply	other threads:[~2000-01-03 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-03 17:25 John Galbraith
2000-01-03 18:03 ` Christoph Berg
2000-01-03 18:10 ` Steve Reid [this message]
2000-01-03 18:14   ` John Galbraith
2000-01-03 18:23     ` Nemeth Ervin
2000-01-04  0:18     ` John Galbraith

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=20000103101054.A420@grok.localnet \
    --to=sreid@sea-to-sky.net \
    --cc=john@bartok.lanl.gov \
    --cc=zsh-users@sunsite.auc.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).