starting apps from console in OS X

Here is a shortcut for starting apps from the console in OS X.

  1. Create a shell script named “o”, as in a lowercase letter ‘o’.
  2. Chmod 755.
  3. Put it in your path.
  4. Put this in it:
    open /Applications/$1*

So then you can start Emacs with the command o Aq instead of open /Applications/Aquamacs and Firefox with o Fire rather than open /Applications/