[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: An Embarrassing Progblem



On Mon, Jan 23, 2017 at 01:27:05PM -0500, S. P. Molnar wrote:
> 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).

Put the PS1=... command that you want into your ~/.bashrc file, removing
any other PS1 assignments that you don't want.

Some people prefer to export PS1 in ~/.bash_profile instead of simply
assigning it in ~/.bashrc -- either way is acceptable, if it works
for you.


Reply to: