The process for older OSX versions is similar, so you should still be able to use this as a guide.
/bin/bash
if you're unsure.
Change the "Pass input" setting to "as arguments"./Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@"
For Sublime Text 2, enter the following in the text input:
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n "$@"
Now when you right click on a file or folder, under "Services" you will see "Open in Sublime".
I also set up a service for adding a file or directory to the current Sublime window. You can duplicate the process above using the -a
flag instead of -n
in the command, and name it something appropriate like "Open in Current Sublime Window".