From 55567184364d22d7c43d7413c62ef73130d940e9 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 16 Nov 2015 23:10:09 +0100 Subject: Revert "config.commands: don't resolve macros in :rename/:touch" This reverts commit dfc0c61ad371d73a7fce842f8196fb2cef081f1d. See #417: > macros were explicitly disabled for :rename in dfc0c61. > > I'm not sure anymore why, but I think it was so you can use the A key on > files with a %s in the name without things breaking. I'm going to revert > the patch and write a better workaround. --- ranger/config/commands.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 0dc22147..13b6a50c 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -661,8 +661,6 @@ class touch(Command): Creates a file with the name . """ - resolve_macros = False - def execute(self): from os.path import join, expanduser, lexists @@ -738,8 +736,6 @@ 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