Created
January 16, 2018 18:11
-
-
Save ipolyzos/42da2d232fd753237548aa7681894dff to your computer and use it in GitHub Desktop.
Set sublime 3 as the default editor in MacOSX
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
## update homebrew | |
$ brew update | |
## install duti | |
brew install duti | |
## sublimetext 3 default editor for plain text files | |
duti -s com.sublimetext.3 public.plain-text all | |
## sublimetext 3 default editor for executable scripts | |
duti -s com.sublimetext.3 public.unix-executable all | |
# more information for 'duti' can be found @ http://duti.org/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment