One high quality of life enchancment any developer could make for themselves is making certain completely different file sorts open within the app they’re most proficient in. If you realize me, you realize I favor carrying out as a lot as doable from the command line. The duti
utility permits customers to find out default file sort from command line.
The duti
utility permits builders to question which app is the default for various file sorts. You’ll be able to set up duti
with brew
:
brew set up duti
After you have duti
out there, you may verify on the default app for file sort with the next command:
~ duti -x md Xcode.app /Functions/Xcode.app com.apple.dt.Xcode
You’ll be able to set the default app through the use of its bundle:
duti -s com.sublimetext.2 .js all
The duti
utility is absolutely nice for figuring out and automating default app administration!
Being a Dev Dad
I get requested a great deal of questions day by day however I am at all times stunned that they are hardly ever questions on code and even tech — lots of the questions I get are extra about non-dev stuff like what my workplace is like, what software program I exploit, and oftentimes…
Source_link