item 安装 oh-my-zsh

1、安装 item2

brew search iterm
brew install iterm2

  • 下载主题包
    git clone https://gitee.com/rainbowpig/iTerm2-Color-Schemes.git

2、安装 oh-my-zsh

  • 1 、下载
    git clone https://gitee.com/mirrors/oh-my-zsh.git
  • 2、安装
    进入到下载文件目录 在 tools 目录中执行 sh -c ./install.sh

3、oh-my-zsh配置

  • 1、修改配置文件 ~ ./zshrc
    修改ZSH主题为 agnoster
    修改后会有字体乱码问题

1、下载字体
git clone https://gitee.com/zgq0301/fonts.git

*2、安装字体
在字体中安装 Meslo regular

  • 2、安装插件 代码高亮 和提示

*1、进入 安装文件中~ .oh-my-zsh/ plugius
*2、在插件文件夹中 下载插件
git clone https://gitee.com/victor_htq/zsh-autosuggestions.git
git clone https://gitee.com/Annihilater/zsh-syntax-highlighting.git
*3、修改配置文件 ./zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source ./zshrc

原文地址:https://www.cnblogs.com/eatandsleep/p/14071573.html