I've never been able to figure out when to use .profile vs .bashrc, but 
I thought it had to do with only one of them being run when a subshell 
was started, or something like that.

I do note that on both my OS-X and Linux boxes, /etc/profile sources 
bashrc, and uses bash syntax, so it sure looks like a bash-specific 
config file to me.

-Chris

[EMAIL PROTECTED] wrote:

> I'd use '.bashrc' or '.bash_profile', because 'export' is bash syntax -- 
> '.profile' should be read by any shell, and tcsh (e.g. default in OSX 10.2) 
> doesn't understand that.
> BTW this file lives in you home folder (~ = /Users/yourname).

-- 
Christopher Barker, Ph.D.
Oceanographer
                                                
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to