• 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: Eugene Lee <email@hidden>
  • Date: Fri, 7 Feb 2003 09:32:30 -0600
  • Mail-followup-to: email@hidden

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.


--
Eugene Lee
_______________________________________________
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.

  • Follow-Ups:
    • Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
      • From: email@hidden
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)

  • Prev by Date: Re: Bash login shells with X11 (executing .bash_profile, .bashrc)
  • Next by Date: 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