成功解决 zsh: command not found

简介: 成功解决 zsh: command not found

成功解决 zsh: command not found


在终端执行


vim ~/.zshrc


第二步


找到 “# User configuration”


在其下面添加下面内容


source ~/.bash_profile


如果没有’# User configuration’,就直接把上面内容添加到 ~/.zshrc 里面


第三步


在终端里执行


source ~/.zshrc


相关文章
|
3月前
|
数据安全/隐私保护 iOS开发 MacOS
Mac终端出现 brew command not found 解决
Mac终端出现 brew command not found 解决
102 3
Command ‘nohub‘ not found, did you mean: command ‘nohup‘ from deb coreutils (8.32-4.1ubuntu1)
Command ‘nohub‘ not found, did you mean: command ‘nohup‘ from deb coreutils (8.32-4.1ubuntu1)
|
6月前
|
Shell 开发工具 Android开发
详解sh ndk-build.cmd command not found
【4月更文挑战第2天】
|
Shell
bash: accelerate: command not found
bash: accelerate: command not found
2659 3
Gulp zsh: command not found: gulp
Gulp zsh: command not found: gulp
151 0
|
Shell iOS开发 MacOS
bash: air: command not found
bash: air: command not found
193 0
|
Shell Windows
msys2提示:-bash: cmake: command not found
msys2提示:-bash: cmake: command not found
366 0
|
Shell
zsh : command not found pip3 的解决方案
zsh : command not found pip3 的解决方案
685 0
|
关系型数据库 PostgreSQL iOS开发
zsh: command not found: psql 解决方法
zsh: command not found: psql 解决方法
|
iOS开发 MacOS
zsh: command not found: conda 解决方法
zsh: command not found: conda 解决方法