iTerm2 顏色配置


1. 首先找到配色文件:

  iterm2官網配色方案iTerm2-Color-Schemes

  altercation的  solarized配色方案solarized

 

2. 配置步驟:

  

  • clone上面的repo

  • 進入iterm2,然后⌘commmand + i

    • 進入colors標簽,Load Preset;然后點選import導入上面所說的配色方案即可

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

  • 配置.bash_profile

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

        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 ,使得上述配置生效

  • 重啟iterm2即可

 

出處: href='https://segmentfault.com/a/1190000004947174

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM