[haiku-commits] Re: r38133 - haiku/trunk/src/apps/terminal

  • From: pulkomandy <pulkomandy@xxxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Aug 2010 11:43:42 +0200

On Mon, Aug 16, 2010 at 11:28:42AM +0200, Axel D?rfler wrote:
> Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> wrote:
> > 2010/8/16  <pulkomandy@xxxxxxxxxxxxxxxxx>:
> > > Log:
> > > Explicitly start bash when opening a new tab, since other shells 
> > > may not
> > > handle the "--login" option.
> > This isn't correct, though.
> 
> Definitely.
> 
> > One should open the user selected shell. The login option could be
> > added in case it's bash.
> 
> What's the exact purpose of the --login, anyway?

http://www.faqs.org/docs/bashman/bashref_63.html#SEC63

It makes bash read /etc/profile instead of ~/.bashrc .
This is specific to bash, so it has likely nothing to do in Terminal.

Other related posts: