mac

基本配置

基本颜色

  • iterm2 preference->profile->color->colorpresets
  • brew install coreutils && gdircolors –print-database > ~/.dir_colors
    1
    2
    3
    4
    5
    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

追加到bash_profile末尾

好饿好饿好饿 我真的好饿