Today we study the start-up process for the next Mac terminal. The following is an example of how to add an app launch method to a Mac's terminal in sublime.
Method 1: Use "open-a/applications/sublime\ text\ 2.app/", this method can be opened directly, but every time to do so to avoid trouble. Find the method two on the net
Method 2: Use "Alias Sublime= ' open-a/applications/sublime\ text\ 2.app/'" so that we can open sublime directly after running the sublime command, But the disadvantage is that if you shut down the terminal and restart it, it will fail.
Method 3: Into the application, right-sublime-contents-sharedsupport-bin, we found there is a Subl file. We copy this file to the/usr/bin/folder (we can open the path with command+shift+g). You can then run the SUBL in the terminal to open the sublime, which is very convenient and does not fail.
/********************************
* This article from the blog "Bo Li Garvin"
* Reprint Please indicate the source : Http://blog.csdn.net/buptgshengod
******************************************/
Mac opens application in terminal