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.
> 
> I export PS1 and PS2 from ~/.bashrc, which works just fine.

I moved the assignment to PS1 from .bash_profile to .bashrc, and now it
works great.  Thanks!

My surprise is that assignments to PS1 made in .bash_profile were not
inherited by the shells in xterms.

Thanks also to the others, who made the effort to contribute advice.
                                             --- Omer
WARNING TO SPAMMERS:  see at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to