oh-my-zsh on mac
oh-my-zsh
一个好用美观的终端,对程序员至关重要。
更新 zsh
brew install zsh
安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
配置主题
# vim ~/.zshrc
ZSH_THEME="ys"
安装插件
#autojump
brew install autojump
#autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
#syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# vim ~/.zshrc
plugins=(git brew autojump zsh-autosuggestions zsh-syntax-highlighting)