iterm2-theme-setting

46 阅读1分钟

install

zsh

brew install zsh zsh-completions

oh my zsh

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

theme

  1. 主要在配置文件 ~/.zshrc 中修改设置。
// 打开配置文件
open ~/.zshrc
  1. 修改主题

更改配置文件 ~/.zshrc 中的 ZSH_THEME 来设置使用的风格

ZSH_THEME="bira"

推荐 --> gnzh

更新配置也可以选择重起终端

source ~/.zshrc

iTerm2 Import configuration file

  1. 打开 settings -> General -> Preference

如果 Load preferences from a custom folder or URL 没有勾选, 需要将其勾选上

  1. 点击 Browse 配置文件目录

  2. Save changes 选项含义

Automatically 自动更新

Manually 手动更新