I have been using the sublime text lately. I am amazed with several jaw dropping features this gorgeous editor provides. I will writing more on sublime text and today I am going to discuss about “How to add a service ‘Open in Sublime Text‘ as a service using a shell script on the Mac”. Its pretty simple and we will be using the Automator application to do this.
Step 1: Fire up the Automator application which is a native Mac application. Go to “File” menu and click on “New”
Step 2: Select the type of the document as “Service” from the menu.
Step 3: In the search bar, type “Shell” it should “Run Shell Script“. Select it and drag it into the adjacent window.
Step 4: You will see a selection with text area. Copy the path of…
View original post 152 more words