zsh-users
 help / color / mirror / code / Atom feed
From: Wolfgang Hukriede <whukriede@ifm.uni-kiel.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: Why can't I set PS1?
Date: Mon, 5 Jul 1999 20:47:44 +0200 (MET DST)	[thread overview]
Message-ID: <199907051847.UAA08645@sally.ifm.uni-kiel.de> (raw)

Yes, it was exactly this. They (Suse GmbH) managed to define in
/etc/profile (which is sourced by zshrc):

        precmd ()
        {
            if test "$UID" = 0; then
                PS1="%m:`pwd -r` # "
            else
                PS1="%n@%m:`pwd -r` > "
            fi
        }

I sent them a bug-report.

Many thanks, fabulous!

Wolfgang.

Peter Stephenson wrote:
> It may be the same problem someone else had a couple of weeks ago.  On some
> system, the function precmd is set to restore the prompt before every
> single command, which is lunacy.  You can probably just `unfunction precmd'
> and set your own prompt, if that's the problem.


             reply	other threads:[~1999-07-05 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-05 18:47 Wolfgang Hukriede [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-07-04 19:12 Wolfgang Hukriede
1999-07-05  7:52 ` Peter Stephenson

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=199907051847.UAA08645@sally.ifm.uni-kiel.de \
    --to=whukriede@ifm.uni-kiel.de \
    --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).