On 24/01/17 07:27, S. P. Molnar wrote:
I'm embarrassed to admit it. but I am completely confused.
Somehow, I don't know how I managed to reset my bash user prompt. Rather
than the default user prompt '\u@h >', it has morphed to (p4env).
 I have found plenty of Google results about correcting thei promled,
and, indeed export PS1='\u@\h > ' restores the prompt - that is, until I
close that terminal.  The next time I open a terminal the prompt is back
to (p4env).
For my sanity, I can]t seem to figure out where and how to make the
change permanent.
As I said, I'm very embarrassed about this and really need help.
Thanks in advance,

Stephen, you can make this change permanent by appending this line to your ~/.bashrc :

export PS1='\u@\h > '

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

Reply via email to