Question about bash prompt
Hi
I would like to ask a question about bash prompt. I have included the following line in .bash_profile to change my prompt. PS1="\u@\h \@PWD] " If I run the following command source .bash_profile I get what I want. But if I start a new terminal I still get the old prompt defined in /etc/bashrc. I don't like to recompile .bash_profile everytime I start a new terminal. I could edit /etc/bashrc but I would like to allow users to only edit .bash_profile to get what ever prompt they want. I'm using Redhat Linux 9 and GNOME XDM. Sincerely yours, Sangjin Kim sangjin89@hotmail.com |
just put it in your own .bashrc instead.
|
ones for original login, the other's for any additional terminals you start. Or something like that...I'm getting tired. :)
|
All times are GMT -5. The time now is 08:17 PM. |