Re: [SOLVED] Re: The PS1 puzzle in RH7.3/Gnome

2002-12-03 Thread Tzafrir Cohen
On Tue, 3 Dec 2002, Omer Zak wrote: > > On 1 Dec 2002, Oleg Goldshmidt wrote: > > > I would be very surprized if ~/.bash_profile got executed for every > > xterm. It should not be: ~/.bash_profile is only sourced for login > > shells, cf. "man bash". From your description, I think your system > >

[SOLVED] Re: The PS1 puzzle in RH7.3/Gnome

2002-12-02 Thread Omer Zak
On 1 Dec 2002, Oleg Goldshmidt wrote: > I would be very surprized if ~/.bash_profile got executed for every > xterm. It should not be: ~/.bash_profile is only sourced for login > shells, cf. "man bash". From your description, I think your system > behaves properly and according to documentation.

Re: The PS1 puzzle in RH7.3/Gnome

2002-12-02 Thread Ehud Karni
On Sun, 1 Dec 2002 19:46:07 +0200 (EET), Omer Zak <[EMAIL PROTECTED]> wrote: > > Can someone please point out which system script clobbers my precious > setting of PS1 or what other mistake did I commit? The simplest way is to add "set -x" to your script. You'll see if it is really called and any

Re: The PS1 puzzle in RH7.3/Gnome

2002-12-01 Thread Oleg Goldshmidt
Omer Zak <[EMAIL PROTECTED]> writes: > In a stock RedHat 7.3 installation, I am trying to customize the prompt. > I edited ~/.bash_profile so that it'll have also the command: > PS1='[\!][\u@\h:\w]\$ ' > > Inside an xterm, if I source .bash_profile, then the prompt changes to > what I want it to

Re: The PS1 puzzle in RH7.3/Gnome

2002-12-01 Thread Tzafrir Cohen
On Sun, 1 Dec 2002, Omer Zak wrote: > In a stock RedHat 7.3 installation, I am trying to customize the prompt. > I edited ~/.bash_profile so that it'll have also the command: > PS1='[\!][\u@\h:\w]\$ ' > > Inside an xterm, if I source .bash_profile, then the prompt changes to > what I want it to be

The PS1 puzzle in RH7.3/Gnome

2002-12-01 Thread Omer Zak
In a stock RedHat 7.3 installation, I am trying to customize the prompt. I edited ~/.bash_profile so that it'll have also the command: PS1='[\!][\u@\h:\w]\$ ' Inside an xterm, if I source .bash_profile, then the prompt changes to what I want it to be. However if I log out and log back into Gnome,