Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Why can't I set PS1?



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