How to Open Sublime Text from Mac OS X Terminal

It was brought to my attention that you can open Sublime Text via Terminal whilst watching a screencast by @James Stone on “Getting Sassy with ZURB Foundation 5 (Sass/Scss)” by typing:

subl .

Now I know what you’re thinking, well this isn’t new, you’re telling me that you can open files too?! (Duh) anyway I was on the hunt to find out how to ‘configure your bash profile etc’ but for starters, my hidden files were… hidden and therefore I couldn’t locate my ‘bash profile’.

To show your hidden files on a Mac, follow this post: “Quickly Show/Hide Hidden Files on Mac OS X Mavericks” by @Ian Lunn

So I finally came across this post by @thatpatrickguy on “Running Sublime Text from your OS X terminal” and it worked, YAY!