Problem with bash login.

Ben Scott dragonhawk at gmail.com
Sun Jul 16 08:57:01 EDT 2006


On 7/16/06, Paul Lussier <p.lussier at comcast.net> wrote:
>> So source your .bash_profile file from your .xwhatever file, like I
>> said.
>
> You shouldn't have to do this.  I never have, and every xterm I launch
> works just fine, complete with my environment.

  That's because you're sourcing your .profile from your .bashrc.
.bashrc always runs at the start of any interactive shell, including
ones launched from xterm.  So *you* shouldn't have to do this, but
others might.

  In particular, maybe one has stuff in their .profile that they only
want run at login.  Given that the OP specifically stated he doesn't
want every xterm starting a login shell, that may well be the case.

-- Ben



More information about the gnhlug-discuss mailing list