What is the proper way to modify environment variables like PATH in Yosemite?
This is this question Setting environment variables in OS X? but specifically for yose
Have you tried editing ~/.bash_profile?
~/.bash_profile
Adding a line like this to bash_profile ought to do it:
bash_profile
export PATH=/usr/local/bin:$PATH