aboutsummaryrefslogtreecommitdiff
path: root/home/john
diff options
context:
space:
mode:
Diffstat (limited to 'home/john')
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/text7
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/text_x-makefile3
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