summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-09-02 11:49:31 +0200
committerhut <hut@lepus.uberspace.de>2015-09-02 11:49:31 +0200
commitdfc0c61ad371d73a7fce842f8196fb2cef081f1d (patch)
treef4467ad5c0dcbf27ebb82724c9bbe573f755ca3b /ranger
parent2344714fcbaa3697f77dd0cb4477a8f8019c7dc4 (diff)
downloadranger-dfc0c61ad371d73a7fce842f8196fb2cef081f1d.tar.gz
config.commands: don't resolve macros in :rename/:touch
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/commands.py4
1 files changed, 4 insertions, 0 deletions
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 <fname>.
     """
 
+    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 <newname>
     """
 
+    resolve_macros = False
+
     def execute(self):
         from ranger.container.file import File
         from os import access