Last active
September 15, 2018 21:41
-
-
Save ronanmccoy/25ad2529a47b0370f4c72cfa98629240 to your computer and use it in GitHub Desktop.
Open a file in sublime text 3 from terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* The following is specific to macOS | |
* | |
*/ | |
// Create symbolic link with the alias 'subl'. | |
$: ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl | |
// Use from terminal as follows: | |
// $: subl file_to_open.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment