yum install zsh
chsh -s /bin/zsh
curl -L git.io/antigen > antigen.zsh
mkdir antigenmv antigen.zsh ./antigen
vim ~/.zshrc
# 注意这里需要输入你的 antigen.zsh 文件路径
source ~/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle heroku
antigen bundle pip
antigen bundle lein
antigen bundle command-not-found
# Auto completions bundles.
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
antigen theme robbyrussell
# Tell Antigen that you're done.
antigen apply
保存文件后退出,然后运行source ~/.zshrc