about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2019-12-28 01:12:06 +0100
committerGitHub <noreply@github.com>2019-12-28 01:12:06 +0100
commit9136820e615429d48bfd71225c96975dcfad8990 (patch)
treefc476dc0e5ebda3b09caa9ecd859f973ef3e7b49
parent45f58365d6b0ef475407571c77cb98cd7ae1717e (diff)
parent814ba418732267d13bdbe01342d14b1c85171133 (diff)
downloadranger-9136820e615429d48bfd71225c96975dcfad8990.tar.gz
Merge pull request #1708 from toonn/chain-macros
Don't resolve macros for chain
-rwxr-xr-xranger/config/commands.py1
-rw-r--r--ranger/config/rc.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index c2a02b67..17a0fa9c 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -283,6 +283,7 @@ class chain(Command):
 
     Calls multiple commands at once, separated by semicolons.
     """
+    resolve_macros = False
 
     def execute(self):
         if not self.rest(1).strip():
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 752dff77..7226130d 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -372,7 +372,7 @@ map !  console shell%space
 map @  console -p6 shell  %%s
 map #  console shell -p%space
 map s  console shell%space
-map r  chain draw_possible_programs; console open_with%%space
+map r  chain draw_possible_programs; console open_with%space
 map f  console find%space
 map cd console cd%space