You are not logged in.
So, every time I start a terminal (konsole) it would display 'bash-3.2$' instead of [username@hostname~]$. And I have to do a 'source /etc/profile' every time to make it look like the latter. So, is there a way for konsole to do it automatically when I start it?
thanks.
Last edited by aLiase (2007-10-28 17:35:24)
Offline
See man bash
and search for PROMPTING.
You can see many variables you can put in your ~/.bashrc
My prompt looks like this:
PS1="\u@\h (\l) \w \t\n\$ \! \#--> "
Last edited by Karu (2007-10-28 16:53:34)
Offline