MAC可以在.zshrc中修改PATH
Posted 柳鲲鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MAC可以在.zshrc中修改PATH相关的知识,希望对你有一定的参考价值。
据说加载顺序如下:
/etc/profile
/etc/paths
~/.bash_profile
~/.bash_login(没看到)
~/.profile(没看到)
~/.zshrc(.bashrc是LINUX的配置)
以上是关于MAC可以在.zshrc中修改PATH的主要内容,如果未能解决你的问题,请参考以下文章
React Native (Mac) 终端修改 ~/.bashrc, ~/.profile, ~/.zshrc
mac 终端报错 zsh: command not found: xxx
MAC修改.bashrc/.bash_profile无效,默认的用户配置文件是.zshrc,