summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-23 17:40:50 +0200
committerhut <hut@lavabit.com>2010-04-23 17:40:50 +0200
commit58c84bd660705b3f3980169b173aced8d233b2b1 (patch)
tree0b237a70619a4a6f019c4718f40279b2dfc79a9e
parent9b8942083ac4cd17cd4e75afa3a217ce7171cc14 (diff)
downloadranger-58c84bd660705b3f3980169b173aced8d233b2b1.tar.gz
ranger.defaults.apps: use "make" for Makefiles
-rw-r--r--ranger/defaults/apps.py3
1 files changed, 3 insertions, 0 deletions
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'