1.添加linkphp
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
2.編輯PATHjava
vim ~/.bash_profile
3.添加PATHvim
export PATH=/usr/local/bin:$PATH
4.應用bash
source ~/.bash_profile