setting the PS1 enviroment variable in xterm
Hi there.
This is how the prompt on my xterm looks like : bash-2.05a#
I would like it to look like this : [sohail@linux ~/work] >
I can do this by setting the PS1 enviroment variable, like : export PS1="[\u@\h\w]>"
But how can I make it work automatically when I start an xterm? Making an entery in my ~/.bash_profile or ~/.bashrc won't work. I tried putting an entery in ~/.xinitrc but that doesn't work either. But how then?
Last edited by qanopus; 04-29-2003 at 05:57 AM.
|