oh-my-zsh ,“zsh: command not found: mysql”

1,关于zsh ,请移步介绍:终极 Shell——ZSH 
官网 :oh-my-zsh

2,安装完zsh,在使用相关shell命令,出现了”zsh: command not found adb:mysql”,”zsh: command not found: git” 等一系列error

3,解决办法

既然是.zshrc 没有配置相关环境变量设置,把 bash 中.bash_profile 全部环境变量加入就好

open .zshrc
  • 1

然后找到# User configuration部分,添加

source ~/.bash_profile

执行

source .zshrc
  • 1

在运行adb 命令

参考博客网址:https://blog.csdn.net/yianemail/article/details/51693583

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章