linux-open

0.1.0 • Public • Published

Linux Open - OS X open alternative

A simple app to associate file extensions with applications via simple config file

Install

Install via npm install -g linux-open

Usage

Run open file to open in default application

Configuration

The app looks for a ~/.open file. With the following format:

{
    "app command": ["extension1", "extension2"]
}

Here is an example:

{
    "subl":["txt", "js"],
    "tar":["tar.gz"],
    "gzip":["gz"]
}

Files without association or extension will be opened by an app with !generic, e.g.

{
    "subl": ["txt", "js", "!generic"]
}

Directories will be opened by apps with the !directory association.

Package Sidebar

Install

npm i linux-open

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • pockata