1. 首先正常安装item2
2. 加载onedrive里的传家宝iterm2_default_profile.json,让iterm2的配置生效
2. 然后正常安装oh-my-zsh
(官方步骤:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
)
3. 安装agnoster主题相关的字体
clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd .. && rm -rf fonts
4. 改.zshrc让主题生效
vi .zshrc
5. 添加plugin
下载zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions --depth=1
下载zsh-syntax-highlighting:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting --depth=1
6. 改.zshrc让plugins生效
vi .zshrc