[Pythonmac-SIG] Interactive shell
Chris Barker
Chris.Barker at noaa.gov
Wed Nov 23 17:37:00 CET 2005
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
Henning.Ramm at mediapro-gmbh.de 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
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list