Record what zsh download and configuration, save each reinstall the system must check the internet everywhere.
- Install zsh shell
sudo apt install zsh
- Switching shell
chsh -s /bin/zsh
- Installation oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
or
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Download zsh-syntax-highlighting Syntax highlighting plugin
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-syntax-highlighting
- Download zsh-autosuggestions automatically prompted to plug
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-autosuggestions
- .Zshrc configuration file
vim ~/.zshrc
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)