Path Shenanigans on OSX
So today I setup emacs on my new work laptop. I ran into the problem I tend to always have with OSX - the preinstalled versions of software are out of date. So, using homebrew, I installed a new version of emacs.
Of course it gets installed in /usr/local/bin and of course OSX prefers /usr/bin. A simple mod to $PATH and I was on my way !
PATH=/usr/local/bin:$(echo $PATH | sed -e 's!/usr/local/bin:!!')
Written by Jonathan Freedman
Related protips
1 Response
A quasi related update to this https://coderwall.com/p/cwemfg/sane-path-building-while-reloading-profile
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#