From f277b68139d79169c43c07d415954667797a0d30 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 5 Feb 2013 03:41:33 +0100 Subject: config/commands: added tab completion to mkdir/touch --- ranger/config/commands.py | 6 ++++++ 1 file changed, 6 insertions(+) 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): """ -- cgit 1.4.1-2-gfad0