Mac pro 找不到zshrc文件

https://www.jianshu.com/p/afce43db9251


第一步:
vim .bash_profile

Mac pro 找不到zshrc文件_第1张图片

第二步:

填入环境,保存退出,esc键, 加 :键  wq!


第三步:

source .bash_profile


Mac pro 找不到zshrc文件_第2张图片


第四步 执行下列命令
touch .zshrc

open -e .zshrc

输入:

source ~/.bash_profile  ,然后按键盘 command + s 保存,关闭就可以了


第五步:

使环境变量生效

输入:source .zshrc


Mac pro 找不到zshrc文件_第3张图片

你可能感兴趣的:(Mac pro 找不到zshrc文件)