You are not logged in.

#1 2007-10-28 15:42:59

aLiase
Member
Registered: 2007-10-24
Posts: 21

displaying bash-3.2$ in terminal [SOLVED]

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

#2 2007-10-28 16:52:00

Karu
Member
Registered: 2007-09-27
Posts: 2

Re: displaying bash-3.2$ in terminal [SOLVED]

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

Board footer

Powered by FluxBB