• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash login shells with X11 (executing .bash_profile, .bashrc)


  • Subject: Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
  • From: email@hidden
  • Date: Fri, 7 Feb 2003 11:13:26 -0500

On Fri, Feb 07, 2003 at 10:09:26AM -0500, email@hidden wrote:
:
: On Thu, 6 Feb 2003, Lawrence You wrote:
:
: > Has anyone been able to get .bash_profile to be executed without
: > having to specify "xterm --login"? When I start up an xterm from the
: > X11 Beta, .bash_profile doesn't get run at any time.
:
: Yes. .bash_profile should get executed automatically when the bash
: shell starts up.

Nope, ~/.bash_profile is read only if it is an interactive login shell.
If it's an interactive non-login shell, bash reads ~/.bashrc only.

Yes, thanks for the clarification. _______________________________________________ x11-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html Report issues, request features, feedback: http://developer.apple.com/bugreporter Do not post admin requests to the list. They will be ignored.

References: 
 >Bash login shells with X11 (executing .bash_profile, .bashrc) (From: Lawrence You <email@hidden>)
 >Re: Bash login shells with X11 (executing .bash_profile, .bashrc) (From: kristian ragndahl <email@hidden>)
 >Re: Bash login shells with X11 (executing .bash_profile, .bashrc) (From: email@hidden)
 >Re: Bash login shells with X11 (executing .bash_profile, .bashrc) (From: Eugene Lee <email@hidden>)

  • Prev by Date: 0 bits allocated for the alpha color channel
  • Next by Date: Re: newbie with sort of FAQ
  • Previous by thread: Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
  • Next by thread: Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
  • Index(es):
    • Date
    • Thread