OS X Command Line Tools 两则

Sublime Text command line

ln -s “/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl” ~/bin/subl

SourceTree command line

修改~/.bash_login

alias st=’open -a SourceTree’

也可以利用git

git config –global –add alias.sourcetree ‘!open -a SourceTree’

然后alias之:

alias st=’git sourcetree’

posted @ 2012-08-12 21:57  wupher  阅读(246)  评论(0编辑  收藏  举报