On Mar 5, 2012, at 12:49 PM, Justin C. Walker wrote:

> To clarify this, I believe that the man page says that .bash_profile is 
> checked for a login shell, and that .bashrc is checked for a non-login, 
> interactive shell.
> 
> I'm not at a 10.6 system right now to verify that, but it is the case on 
> 10.7, and I have my "profile/rc" set up with that assumption on both 10.6 and 
> 10.7.

Thanks, Mr. Curmudgeon ;-)

That is indeed what I read in the man page, but my intuitive sense is that 
Terminal should open a "non-login, interactive shell" — after all, I am able to 
start entering UNIX commands interactively, and the shell does not prompt for a 
login. But when I actually try it out, the contents of .bashrc have no effect 
in Terminal/bash, but the contents of .bash_profile are processed. I conclude 
that something about a deeper understanding of Mac OS X and/or UNIX is eluding 
me.

Jim

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to