[OS X Emacs] where does Mac OS X set default PATH for bash?
agw at comcast.net
Fri Nov 14 14:15:37 EST 2008
This is maybe off-topic, but there is a trace of Emcas-ness in what
I am using bash on my Mac OS X (Leopard) box. My PATH is as follows
(slightly reformatted for readability);
I am not crazy about this, for several reasons. Having a dot (current
directory) so high in the list is Bad News from a security viewpoint.
The Emacs.app application doesn't exist on my machine anymore. I
don't want to search /usr/local/texlive/2007, since I'm using the 2008
version of TeXLive.
You may wonder how I'm setting my PATH. Here's how (i.e., here's the
relevant part of .bashrc):
(echo $PATH | grep -q /usr/local/sbin) || PATH=/usr/local/sbin:$PATH
(echo $PATH | grep -q /usr/local/bin) || PATH=/usr/local/bin:$PATH
So from the looks of things, the default PATH must consist of
Since I want to change this, I need to know where this default is
set. Any ideas?
207 Stoughton Avenue, Cranford NJ 07016-2838
More information about the MacOSX-Emacs