osx 終端顏色 不折騰用iterm2
iTerm 2
比手工安裝 gun的顏色簡單方便.
組合窗口很舒服
下載安裝
下載顏色包~~~~ 安裝vim, iterm , terminal 等顏色主題.很舒服.
http://ethanschoonover.com/solarized
http://www.ethanschoonover.com/solarized/files/solarized.zip
安裝中文說明
http://www.vpsee.com/2013/09/use-the-solarized-color-theme-on-mac-os-x-terminal/
主題庫.
https://github.com/mbadolato/iTerm2-Color-Schemes
http://stackoverflow.com/questions/1550288/mac-os-x-terminal-colors
字體庫
http://fontsgeek.com
安裝
DejaVu Sans 18
DejaVu Sans 14
Letter Gothic 18
Letter Gothic 14
Andale Mono 14
Monaco 14
Skyhook Mono 14
折騰方案2 :
終端系統(tǒng)顏色 GUN 替代系統(tǒng)命令 使用gdicolor 著色 dir_color 配置
brew install xz coreutils
gdircolors --print-database > ~/.dir_colors
~/.bash_profile配置文件中加入以下代碼
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
alias grep='grep --color'
alias egrep='egrep --color'
alias fgrep='fgrep --color'
~/.vimrc中添加一行syntax on即可。
這個macport 安裝庫
http://hocuspokus.net/2008/01/a-better-ls-for-mac-os-x/
定制以及彩色化自己的 Mac OS X 終端 [非常好]
http://chaishiwei.com/blog/247.html
使用
讓Mac OS X的終端多姿多彩---配置GUN
使用gun的色彩 和 gun的shell 命令替換mac的命令
http://linfan.info/blog/2012/02/27/colorful-terminal-in-mac/