sudo apt-get install zsh
# 国内镜像https://gitee.com/mirrors/oh-my-zsh 可修改install.sh中仓库指向
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# 下载 zsh-syntax-higlighting
# ZSH_CUSTOM: ~/.oh-my-zsh/custom
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# 下载 zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
# 配置
vim ~/.zshrc
plugins=(其它插件 zsh-syntax-highlighting zsh-autosuggestions)
# 配置生效
source ~/.zshrc