From dfc0c61ad371d73a7fce842f8196fb2cef081f1d Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 2 Sep 2015 11:49:31 +0200 Subject: config.commands: don't resolve macros in :rename/:touch --- ranger/config/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index acc98457..9f0481ce 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -651,6 +651,8 @@ class touch(Command): Creates a file with the name . """ + resolve_macros = False + def execute(self): from os.path import join, expanduser, lexists @@ -726,6 +728,8 @@ class rename(Command): Changes the name of the currently highlighted file to """ + resolve_macros = False + def execute(self): from ranger.container.file import File from os import access -- cgit 1.4.1-2-gfad0