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’

原文地址:https://www.cnblogs.com/wupher/p/2635489.html