iTerm2をインストールする方法
- homebrewのインストール
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
- brewの診断ツールを走らせる
brew doctor
- 結果
Warning: You really should consult the `brew doctor`! Error: Experimental support for using Xcode without the "Command Line Tools". Error: Git could not be found in your PATH. Homebrew uses Git for several internal functions, and some formulae use Git checkouts instead of stable tarballs. You may want to install Git: brew install git Error: No Xcode version found! No compiler found in /usr/bin! To fix this, either: - Install the "Command Line Tools for Xcode" from http://connect.apple.com/ Homebrew does not require all of Xcode, you only need the CLI tools package! (However, you need a (free) Apple Developer ID.) - Install Xcode from the Mac App Store. (Normal Apple ID is sufficient, here) Error: Your Xcode is configured with an invalid path. You should change it to the correct path: sudo xcode-select -switch /Developer
そういえば、Xcode入ってないね。入れなきゃいけないんだった。
時間かかるから先やっとくといいかも。
これはxcodeのPreferencesから
- git のインストール
brew install git
- libeventのインストール
brew install libevent
- ドットファイルを纏めてインストール
git clone https://github.com/yuroyoro/dotfiles.git cd dotfiles ./setup.sh
※カレントディレクトリ以下のドットファイルのリンク先がおかしい場合があるので注意
- vim起動
vim
- BundleInstall
:BundleInstall
Report Terminal Typeがxtermとかだと、うまく表示されないので256colorに変更
- vim-proc をmake
cd ~/.vim/bundle/vimproc/ make -f make_mac.mak
- フォントのパッチ当て面倒なのでステータスラインを表示しないようにする。
vi /Users/KBMJ/dotfiles/.vimrc.statusline
- コメントアウトする
" vim-powerlineでフォントにパッチを当てないなら以下をコメントアウト " let g:Powerline_symbols = 'fancy'