安装“oh my zsh”
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
安装历史命令提示插件
git clone [https://github.com/zsh-users/zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
安装语法高亮插件
git clone git://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
编辑~/.zshrc文件
vim ~/.zshrc
plugins=(git z compleat zsh-autosuggestions zsh-syntax-highlighting)
保存并退出,重启 .zshrc
source ~/.zshrc
网友评论