问题描述:新加入了变量,zsh里命令全都找不到了

zsh命令全找不到解决

 可能原因:

找不到的原因有:

  1. .zshrc 中没有 source .bash_profile
  2. 没有.bash_profile
  3. .bash_profile中没有export path
  4. .bash_profile中export path的路径不包含执行指令路径解决

解决:输入命令:    export PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
 

 zsh命令全找不到解决 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-08-09
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2021-12-26
  • 2021-11-17
  • 2021-05-10
  • 2022-01-10
  • 2021-11-22
相关资源
相似解决方案