Re: .bash_profile not sourced on login
On Mon, May 09, 2005 at 01:31:05AM -0300, Rogério Brito wrote:
> On May 08 2005, Luis R Finotti wrote:
> > Sorry for not mentioning it. It was under X... I guess in that case I
> > don't have a "login shell". So what would be the proper place to set
> > variables for terminals running in X?
> (...)
> In my case, though, I just linked my .bashrc to my .bash_profile, as I
> usually want both login and non-login shells to have the same behaviour
or, just in case you want different environments for login and
non-login shells, put the common stuff in .bashrc (executed for each
interactive shell), and then source .bashrc in .bash_profile (as done
in the debian example startup script template).
Almut
Reply to: