Created
December 29, 2023 01:44
-
-
Save agalea91/9d0de3f5a66bf84dff515914910580ad to your computer and use it in GitHub Desktop.
Change default app to open file on Mac with duti
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
# Get app ID | |
osascript -e 'id of app "TextMate"' | |
# Set default app, e.g. for JSON files | |
duti -s com.macromates.TextMate .json all | |
# Install | |
brew install duti |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment