Mac os下修改path环境变量

不是什么高级的方法,只是我才刚会而已。记录一下。

修改:/etc/paths文件,跟windows一样增加你想要配置到path下的目录即可。

vim /etc/paths
Thanks a lot.