vi ~/.zshrc
export PATH="$PATH:需要添加的路径"
source ~/.zshrc
另外用ls看隐藏文件需要记得加上 -a
ref:
https://superuser.com/questions/886132/where-is-the-zshrc-file-on-mac
本文摘自 :https://www.cnblogs.com/
海量资源,尽在掌握
vi ~/.zshrc
export PATH="$PATH:需要添加的路径"
source ~/.zshrc
另外用ls看隐藏文件需要记得加上 -a
ref:
https://superuser.com/questions/886132/where-is-the-zshrc-file-on-mac
本文摘自 :https://www.cnblogs.com/