summary refs log tree commit diff stats
path: root/ranger
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 /ranger
parent0058e46fa484e8359c4c0599eb7f3de132d6f88e (diff)
downloadranger-f277b68139d79169c43c07d415954667797a0d30.tar.gz
config/commands: added tab completion to mkdir/touch
Diffstat (limited to 'ranger')
-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):
 	"""
href='#n149'>149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221