iterm2配色方案

配色來源

  • iterm2官網所提供的配色方案iTerm2-Color-Schemesgit

    在schemes目錄下提供了不少種配色方案
  • altercation大神的solarized配色方案solarizedgithub

    在這個repo中給出了多個編輯器的配色方案,顯然咱們須要的是目錄
    iterm2-colors-solarized下的
    
    Solarized Dark.itermcolors 和 
    Solarized Light.itermcolors

HOW

  • clone上面的repovim

  • 進入iterm2,而後⌘commmand + ibash

    • 進入colors標籤,Load Preset;而後點選import導入上面所說的配色方案便可編輯器

    • 進入text標籤,不勾選Draw bold text in bright colors選項code

  • 配置.bash_profileget

    • vim $HOME/.bash_profile,添加下列代碼it

      CLICOLOR=1
        LSCOLORS=gxfxcxdxegedabagacad
        export PS1='[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$'
        export TERM=xterm-color
    • source $HOME/.bash_profile ,使得上述配置生效io

  • 重啓iterm2便可import

相關文章
相關標籤/搜索