安装oh my zsh

官网 https://ohmyz.sh/

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Mac安装FiraCode字体并修改Iterm字体

  • 从github下载

git clone https://github.com/tonsky/FiraCode.git

  • 进入 /distr/ttf 目录全选字体 右键open with font book
  • 可以顺便修改Iterm的字体为FiraCode

换一个好看的Iterm配色

Solarized Dark Patched 保存为itermcolors后缀

换一个好看的oh-my-zsh主题

vim ~/.zshrc 修改ZSH_THEME="agnoster"

Install useful plugins

click plugins to see.
vim ~/.zshrc 修改 plugins=(git zsh-autosuggestions zsh-syntax-highlighting sudo).

安装 zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

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

安装 zsh-autosuggestions

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

奇怪的字符งึ้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้