diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-18 20:55:14 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-18 20:56:12 +0200 |
commit | 670436b6c4ef186963780c08cbdf42d32eeab1a1 (patch) | |
tree | ffa00e427aff2dda155aa3156437775cd869555a | |
parent | 59758b41218ac9d410b8aaa68fdc8a07dfb1b4bd (diff) | |
download | lbsd-670436b6c4ef186963780c08cbdf42d32eeab1a1.tar.gz |
ROX: Handle text/x-makefile separately from text/*
-rwxr-xr-x | home/john/.config/rox.sourceforge.net/MIME-types/text | 7 | ||||
-rwxr-xr-x | home/john/.config/rox.sourceforge.net/MIME-types/text_x-makefile | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text b/home/john/.config/rox.sourceforge.net/MIME-types/text index 1e49770..532d70d 100755 --- a/home/john/.config/rox.sourceforge.net/MIME-types/text +++ b/home/john/.config/rox.sourceforge.net/MIME-types/text @@ -1,6 +1,3 @@ -#! /bin/sh +#!/bin/sh cd "$(dirname "$1")" -case "$1" in -*/Makefile) exec xtopen -K make ;; -*) exec xtopen vi "$1" ;; -esac +exec xtopen vi "$1" diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text_x-makefile b/home/john/.config/rox.sourceforge.net/MIME-types/text_x-makefile new file mode 100755 index 0000000..eae4c0f --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/text_x-makefile @@ -0,0 +1,3 @@ +#!/bin/sh +cd "$(dirname "$1")" +exec xtopen -K make |