Macで自作コマンドを使う方法 ref: http://qiita.com/HiDARi/items/a1fca8ab45bdd762ae52