LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Console text (https://www.linuxquestions.org/questions/slackware-14/console-text-234894/)

gamehack 09-24-2004 05:44 PM

Console text
 
Hello :)

When I installed Slack10 if I started a terminal(gnome-terminal) it displayed only bash-2.05b$ :) And I wanted it to display something like user@host $ . When I installed ximian-artwork theme from Dropline GNOME and restarted GNOME it was ok. So I want to ask, where should I look to see where it has put changes for the terminal ?

Thanks in advance

kersten78 09-24-2004 05:50 PM

That's something I'd also like to know. I think it's probably in the shell config, but I'm not sure...maybe .bashrc?

kodon 09-24-2004 06:01 PM

add this to your ~/.bashrc
PS1='\u@\h:\w\$ '

Shade 09-24-2004 06:22 PM

For a more consistent approach, make .bashrc consist of only these two lines:

Code:

source /etc/profile
source ~/.bash_profile

Then, put all of your user's aliases etc in .bash_profile and your terminal will be consistent, no matter what it is.

--Shade

kodon 09-24-2004 06:34 PM

that is much simpler

kersten78 09-24-2004 07:01 PM

Thanks. That had been bugging me.

Cedrik 09-25-2004 04:00 AM

I do the inverse approach :

~/.bash_profile :
source ~/.bashrc

so I can put commands executed only at login in ~/.bash_profile


All times are GMT -5. The time now is 06:15 AM.