随笔 | Iterm2 配色方案

来源:互联网 发布:apache 2.0 开源协议 编辑:程序博客网 时间:2024/05/23 01:25

安装oh-my-zsh


  • sh -c “$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
  • vi ~/.zshrc
  • 打开后找到ZSH_THEME=”robbyrussell”修改为ZSH_THEME=”agnoster”
  • 重启iterm
  • 发现出现乱码,需要下载安装Powerline字体
  • git clone https://github.com/powerline/fonts.git
  • cd fonts
  • ./install.sh
  • 安装完字体库之后,把iTerm 2的设置里的Profile中的Text 选项卡中里的、 Font和Non-ASCII Font的字体都设置成 Powerline的字体,搜索框内输入Powerline查询并选中字体。
  • 重启iterm2

原创粉丝点击