diff options
author | hut <hut@lepus.uberspace.de> | 2015-11-16 23:10:09 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-11-16 23:10:43 +0100 |
commit | 55567184364d22d7c43d7413c62ef73130d940e9 (patch) | |
tree | 63899327a74ea86d57345e6a2b731308003b3cde | |
parent | 90d6ad8b581e64734b5aaea347d6f99501029fa4 (diff) | |
download | ranger-55567184364d22d7c43d7413c62ef73130d940e9.tar.gz |
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.
-rw-r--r-- | ranger/config/commands.py | 4 |
1 files changed, 0 insertions, 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 <fname>. """ - 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 <newname> """ - resolve_macros = False - def execute(self): from ranger.container.file import File from os import access |