# 依赖zsh和git,https://ohmyz.sh/#install
# yum install zsh
# apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# 国内镜像
# sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
修改~/.zshrc的ZSH_THEME配置, 可以修改主题
# 主题推荐
ZSH_THEME="bira"
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
vim ~/.zshrc
# 新增插件配置
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)