Skip to main content
1 of 2
Knut Holm
  • 171
  • 1
  • 3

thee's answer doesn't work for Yosemite and El Capitan - use this one instead:

defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.github.atom;}'
Knut Holm
  • 171
  • 1
  • 3