I use PS=$ to change the shell prompt to $, but when I restart the shell, I have to do it again. Is there a way to change the shell prompt permanently?

link|improve this question

feedback

1 Answer

up vote 6 down vote accepted

Yes, change the PS1 variable in your $HOME/.bashrc.

link|improve this answer
3  
Added the the $HOME environment variable since @alwbtc might not know where .bashrc is. :) – Jin Oct 10 '11 at 10:43
:) Thanks, I didn't know that indeed. – alwbtc Oct 10 '11 at 11:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.