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

 

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