1
2
3
4
5
6
7
8
# You can change the 'PATHTOTOOL' and the 'PATHTOLINK', 
# to use this command for a variety of tools
# '-s' is used to create a symbolic link (http://en.wikipedia.org/wiki/Symbolic_link).

ln -s "PATHTOTOOL" PATHTOLINK 
 
# Example:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl