summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--ranger/defaults/commands.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8adae6a0..3e5e7cc1 100644
--- a/Makefile
+++ b/Makefile
@@ -90,4 +90,4 @@ snapshot:
 todo:
 	@grep --color -Ion '\(TODO\|XXX\).*' -r ranger
 
-.PHONY: default options compile clean doc cleandoc snapshot install man todo
+.PHONY: clean cleandoc compile default doc help install man manhtml options snapshot test todo
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index d564d4f6..6cfeff17 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -307,12 +307,12 @@ class open_with(Command):
 
 		return app, flags, int(mode)
 
-	def _get_tab(self):
+	def tab(self):
 		data = self.rest(1)
 		if ' ' not in data:
 			all_apps = self.fm.apps.all()
 			if all_apps:
-				return (app for app in all_apps if app.startswith(data))
+				return (self.firstpart + app for app in all_apps if app.startswith(data))
 
 		return None