Skip to content

Instantly share code, notes, and snippets.

@wpcarro
Created August 20, 2019 14:42
Show Gist options
  • Select an option

  • Save wpcarro/372100b753425bd89815329b51871dbb to your computer and use it in GitHub Desktop.

Select an option

Save wpcarro/372100b753425bd89815329b51871dbb to your computer and use it in GitHub Desktop.
Easily configure default applications in Linux
# Adding this as a reference for myself.
# At the terminal, call:
mimeopen -d <filetype>
# For example to configure `lf` to open for directories:
mimeopen -d $(pwd)
# To configure Emacs for .js files
mimeopen -d file.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment