重装系统后的配置问题

1 iTerm字体颜色

  • Install Homebrew
  • install coreutils by command: brew install xz coreutils
  • generate color-difinition file using following command:gdircolors --print-database > ~/.dir_colors
  • Put following code in ~/.bash_profile file

    if brew list | grep coreutils > /dev/null ; then
      PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
      alias ls='ls -F --show-control-chars --color=auto'
      eval `gdircolors -b $HOME/.dir_colors`
    fi
    
  • grep highlight

    alias grep='grep --color'
    alias egrep='egrep --color'
    alias fgrep='fgrep --color'
    
  • When use iTerm, make sure to unselect draw bold text in bright colors !!!

2 Sublime Text 配色问题

  • Install Package Control
  • Under package control cmd+shift+p, install Sodarized UI Theme
  • For Solarized-Color-Scheme, because I need to customize my color a little bit, so do not use pre-built Solarized exec file from package control, instead install it manually by downloading Solarized Color Theme and put it into path ~/Library/Application Support/Sublime Text 3/Packages folder. Then set the color scheme by Sublime Text - Preferences - Color Scheme - Solarized

3 IntelliJ Idea 配色问题

  • Editor Color Scheme
    • Download Solarized Dark.icls
    • Create new directory at ~/Library/Preferences/IntelliJIdea2016.3/colors
    • Put the downloaded Solarized Dark.icls into the above directory
    • Restart IntelliJ idea ->Preferences->editors->color and fonts->schemes, choose Solarized Dark
  • UI theme
    • To Change the UI theme is a little bit trickier, refer to here. Key point is to replace the Applications/Contents/lib/idea.jar by the command. Before executing the command, make sure to create path com/intellij/ide/ui/laf/darcula/darcula.properties
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值