diff options
author | hut <hut@lepus.uberspace.de> | 2015-09-02 11:49:31 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-09-02 11:49:31 +0200 |
commit | dfc0c61ad371d73a7fce842f8196fb2cef081f1d (patch) | |
tree | f4467ad5c0dcbf27ebb82724c9bbe573f755ca3b | |
parent | 2344714fcbaa3697f77dd0cb4477a8f8019c7dc4 (diff) | |
download | ranger-dfc0c61ad371d73a7fce842f8196fb2cef081f1d.tar.gz |
config.commands: don't resolve macros in :rename/:touch
-rw-r--r-- | ranger/config/commands.py | 4 |
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 |