Skip to content

Instantly share code, notes, and snippets.

@ipolyzos
Created January 16, 2018 18:11
Show Gist options
  • Save ipolyzos/42da2d232fd753237548aa7681894dff to your computer and use it in GitHub Desktop.
Save ipolyzos/42da2d232fd753237548aa7681894dff to your computer and use it in GitHub Desktop.
Set sublime 3 as the default editor in MacOSX
## 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