iTerm2

系统自带的终端软件就像记事本一样,勉强够用,想用来做开发还是差点什么,因此强烈建议使用 iTerm2,[下载]

切换 zsh

在终端输入 chsh -s /bin/zsh

oh-my-zsh

# zsh-autosuggestions

git clone <https://github.com/zsh-users/zsh-autosuggestions> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# zsh-syntax-highlighting

git clone <https://github.com/zsh-users/zsh-syntax-highlighting.git> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# 在~/.zshrc中,找到plugins这行,改为如下

plugins=(git z extract themes safe-paste zsh-autosuggestions zsh-syntax-highlighting)

demo

mac-oh-my-zsh.mov