summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-05 03:41:33 +0100
committerhut <hut@lavabit.com>2013-02-05 03:42:06 +0100
commitf277b68139d79169c43c07d415954667797a0d30 (patch)
tree711a4839c27d7edbee6f99276733c355446839bb
parent0058e46fa484e8359c4c0599eb7f3de132d6f88e (diff)
downloadranger-f277b68139d79169c43c07d415954667797a0d30.tar.gz
config/commands: added tab completion to mkdir/touch
-rw-r--r--ranger/config/commands.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index b283a71b..0edb7586 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -667,6 +667,9 @@ class mkdir(Command):
 		else:
 			self.fm.notify("file/directory exists!", bad=True)
 
+	def tab(self):
+		return self._tab_directory_content()
+
 
 class touch(Command):
 	"""
@@ -684,6 +687,9 @@ class touch(Command):
 		else:
 			self.fm.notify("file/directory exists!", bad=True)
 
+	def tab(self):
+		return self._tab_directory_content()
+
 
 class edit(Command):
 	"""