You are here: Home Tech Set PATH on OS X

Set PATH on OS X

by Chris Shenton last modified Aug 23, 2009 03:04 PM
standard .bash_profile and .login didn't work for me

I fire up Emacs from finder using QuickSilver. It has the system's PATH which has /usr/local/bin/ after /usr/bin/ and this means I get the system's 'svn' instead of ones I've installed myself.

I tried setting PATH in ~/.bash_profile and ~/.login but these weren't seen in my Emacs shells.  I had to edit ~/.MacOSX/environment.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">


Then had to log out and in again.

Share this: