mac 安装 oh-my-zsh 主题
https://www.iterm2.com/downloads.html
brew install zsh
# https://github.com/robbyrussell/oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# https://github.com/ryanoasis/nerd-fonts#option-4-homebrew-fonts
brew tap homebrew/cask-fonts
brew cask install font-hack-nerd-font
Iterm2 里配置非 acsii 字体。(Preferences -> Profiles -> Text -> Non-Ascii-Font 选择 nerd-font)
之后重启 Iterm2 生效
# https://github.com/zplug/zplug
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
# 复制我的 zshrc 文件,你可以删除相应的 fzf 配置,brew install fzf相应的命令行工具,终端检索文件
cp mac_zshrc ~/.zshrc
source ~/.zshrc