Last Updated: February 25, 2016
·
398
· otakup0pe

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:!!')

1 Response
Add your response