Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

Set Which Command to Run for Specific File Type in Midnight Commander

Create command

  • Menu >> Command >> Edit extension file
  • Go to '### Includes' section at bottom of file
  • Add open with Bash:
include/bash
    Open=/bin/bash %f

Bind a file type to command

  • Menu >> Command >> Edit extension file
  • Go to '### Documents' section roughly above Includes section
  • Add a file type to open with include/bash:
shell/i/.sh
    Include=bash

You'll only receive email when they publish something new.

More from Arno
All posts