まずはxcodeをインストール
xcodebuild -licence
agree
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctor
brew install libevent
brew install tmux
brew install fontforge
sudo mkdir -p /usr/include/python2.7
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7/pyconfig.h /usr/include/python2.7/pyconfig.h
sudo cp ~/Library/Fonts/Ricty-Regular.ttf $HOME/.font/
fontforge -script ~/.vim/bundle/powerline/font/fontpatcher.py $HOME/.font/Ricty-Regular.ttf
カレントにRicty Regular for Powerline.ttfが作成される。
font インストール
https://github.com/fncll/vimstuff/raw/master/powerline-fonts/SourceCodePro-Regular-Powerline.otf
makeとかないので、Xcode->Preferences->DownloadsからCommand Line Toolsをインストールしとく。
あとGNU版lsとかも。
brew install coreutils
brew install bash-completion