• 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: Aidan Kehoe <email@hidden>
  • Date: Fri, 7 Feb 2003 15:32:22 +0000

 Ar an 7z la de mm 2, scrmobh email@hidden :

 >  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.

If a shell isn't a login shell, ~/.bash_profile shouldn't be
sourced. If you want to make XTerms run login shells by default,
specify the X resource XTerm*loginShell to be true . If, on the other
hand, you have shell code you want to be run at every interactive
invocation of bash, put it in ~/.bashrc .

--
"I have heard the swelling cry of the English speaking peoples of the
world, and it tells me their cause is served best by flaming the few
complacent asses on usenet." -- T. Samant, 29 June 1997
_______________________________________________
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)

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