• 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: magenta <email@hidden>
  • Date: Fri, 7 Feb 2003 16:58:19 -0800

On Fri, Feb 07, 2003 at 10:18:42AM -0800, Lawrence You wrote:
> At 9:42 AM -0800 2/7/03, magenta wrote:
> >  > It's subtle, I think I'm being pedantic, but I would like that last
> >>  line to say "Yes."
> >
> >Which doens't make a lot of sense to those of us who actually prefer tcsh
> >for their commandline interface.
>
> You're right, bash is only one example and I wouldn't want or expect
> .bash_profile to be executed for tcsh users.  But if you're using
> tcsh or csh then wouldn't you want .profile or .login to be executed
> once? I think that's the same idea.

True.

> >   As others have stated, if you want
> >something to happen in all interactive shells, it goes into .bashrc, not
> >.bash_profile.
>
> Yes, that is close, but not quite what I want. For example, I don't
> want .bashrc (or .cshrc) to keep appending to PATH each time it is
> started as a subshell.

Good point.  And in those cases, you can start your .xinitrc with

#!/usr/bin/tcsh -l

instead. :)

--
http://trikuare.cx
_______________________________________________
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: Randy Ford <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: Lawrence You <email@hidden>)
 >Re: Bash login shells with X11 (executing .bash_profile, .bashrc) (From: magenta <email@hidden>)
 >Re: Bash login shells with X11 (executing .bash_profile, .bashrc) (From: Lawrence You <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: (no subject)
  • 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