macos iTerm oh my zsh

  1. 下载iTerm2-Color-Schemes, https://github.com/mbadolato/iTerm2-Color-Schemes.git, 在iTerm的偏好中选择profiles,再选择color,导入下载好的iTerm2-Color-Schemes(从scheme中),我选择的是cyberdyne。
  2. 安装oh-my-zsh,oh-my-zsh会自动配置zshrc。在zsh’rc配置中找到ZSH_SCHEME,修改为ZSH_THEME=“agnoster”
    记得每次修改完zshrc,需要source激活
    请添加图片描述