Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why can't I set PS1?
- X-seq: zsh-users 2418
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Why can't I set PS1?
- Date: Mon, 05 Jul 1999 09:52:09 +0200
- In-reply-to: "Wolfgang Hukriede"'s message of "Sun, 04 Jul 1999 21:12:11 DFT." <199907041912.VAA06622@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Wolfgang Hukriede wrote:
> Why can't I set PS1, eg:
>
> hukriede@pfiesteria:/home/hukriede > PS1=xxx
> hukriede@pfiesteria:/home/hukriede > echo $PS1
> %n@%m:/home/hukriede >
> hukriede@pfiesteria:/home/hukriede >
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.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author