macでgitのコマンドを補完する方法
ubuntuの時は勝手にやってくれたんですけど、macはそうはいかなかったようです。
ここにメモ残しておこう!
brew install bash-completion .bashrc(.bash_profile)に以下追加 if [ -f `brew --prefix`/etc/bash_completion ]; then . `brew --prefix`/etc/bash_completion fi cd /usr/local/etc/bash_completion.d/ wget https://raw.github.com/git/git/master/contrib/completion/git-completion.bash