diff options
author | hut <hut@lepus.uberspace.de> | 2015-09-02 11:49:31 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-10-04 01:28:16 +0200 |
commit | e6e98a6f6212c1cc82d4decb79eed60c1c872649 (patch) | |
tree | 2333865508148e8233200f2d4daa6ef35d6bf575 /ranger | |
parent | 757777f0cc177fd7927344aac52f3d22cb9a0704 (diff) | |
download | ranger-e6e98a6f6212c1cc82d4decb79eed60c1c872649.tar.gz |
config.commands: don't resolve macros in :rename/:touch
Diffstat (limited to 'ranger')
-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 |