zsh安装教程最详细!!!!!
1.更新系统
sudo apt update
2.安装
sudo apt install zsh
3.安装install.sh文件
方法1:
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh install.sh
方法2:
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
方法3: 由于我的前两种都连接不上,于是我下载整个项目,找打install.sh文件安装
git clone https://github.com/ohmyzsh/ohmyzsh.git
cd ohmyzsh/tools
sh install.sh
4. 配置扩展插件zsh-autosuggestions
cd .oh-my-zsh/plugins
git clone https://github.com/zsh-users/zsh-autosuggestions
5.找到/home/huo/.zshrc文件,打开
plugins=(git
minikube
zsh-autosuggestions
)
6.参考
https://github.com/ohmyzsh/ohmyzsh#getting-started
https://github.com/zsh-users/zsh-autosuggestions
#7
vim ~/.zshrc
export PATH=/home/huo/miniconda3/bin:$PATH
cd ~/miniconda3/bin
./conda init zsh