当前位置:网站首页>Item2 installation configuration and environment failure solution

Item2 installation configuration and environment failure solution

2022-06-26 07:07:00 Talk to me

 

Installation and configuration item2

https://blog.csdn.net/dataiyangu/article/details/82768735

https://segmentfault.com/a/1190000012166969

Very detailed !!!

install zsh

// install 
brew install zsh
// View version 
zsh --version

zsh Failure of environment variables

zsh Failure of environment variables , because zsh When the plug-in creates a new terminal, it only loads... By default ~/.zshrc

So the solution only needs to be in ~/.zshrc Load the current environment variables first .

modify  ~/.zshrc, Add the configuration at the beginning

export PATH=$HOME/bin:/usr/local/bin:$PATH
source $HOME/.bashrc
source $HOME/.bash_profile

Reload environment variables

source ~/.zshrc

 

原网站

版权声明
本文为[Talk to me]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260702004539.html