Set Which Command to Run for Specific File Type in Midnight Commander
February 21, 2024•67 words
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