From 58c84bd660705b3f3980169b173aced8d233b2b1 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 23 Apr 2010 17:40:50 +0200 Subject: ranger.defaults.apps: use "make" for Makefiles --- ranger/defaults/apps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 7e9fe385..5ffbdaf5 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -58,6 +58,9 @@ class CustomApplications(Applications): """How to determine the default application?""" f = c.file + if f.basename.lower() == 'makefile': + return self.app_make(c) + if f.extension is not None: if f.extension in ('pdf', ): c.flags += 'd' -- cgit 1.4.1-2-gfad0