Created
February 8, 2021 21:32
-
-
Save scottj/e6c8369b774cb2af1c0d483ca3747df6 to your computer and use it in GitHub Desktop.
set BBEdit to default text editor on macOS
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
#!/bin/sh | |
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers \ | |
-array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.barebones.bbedit;}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment