查看环境变量:
$ echo $PATH $ /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
创建软链接:
$ sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
查看环境变量:
$ echo $PATH $ /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
创建软链接:
$ sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl