Tuesday, December 6, 2022
HomeSoftware DevelopmentDecide Default App for File Kind from Command Line

Decide Default App for File Kind from Command Line

One high quality of life enchancment any developer could make for themselves is making certain totally different file varieties open within the app they’re most proficient in. If you recognize me, you recognize I desire engaging in as a lot as attainable 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 varieties. You possibly can set up duti with brew:

brew set up duti

After getting duti obtainable, you may examine on the default app for file sort with the next command:

~ duti -x md

You possibly can set the default app through the use of its package deal:

duti -s com.sublimetext.2 .js all

The duti utility is de facto nice for figuring out and automating default app administration!

  • Create a Spinning, Zooming Effect with CSS3

    In case you were not conscious, CSS animations are superior.  They’re easy, much less taxing than JavaScript, and are the way forward for node animation inside browsers.  Dojo’s cellular resolution, dojox.cellular, makes use of CSS animations as an alternative of JavaScript to lighten the applying’s JavaScript footprint.  One among my favourite results…

  • MooTools, mediaboxAdvanced, and Mexico

    The lightbox might be one in every of my favourite components of the Internet 2.0 revolution. No extra having to open new home windows (which might bathroom down your laptop fairly a bit) to see a bigger picture, video, and so forth. As a substitute, the merchandise hundreds proper into the…



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments