diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-12-28 01:12:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-28 01:12:06 +0100 |
commit | 9136820e615429d48bfd71225c96975dcfad8990 (patch) | |
tree | fc476dc0e5ebda3b09caa9ecd859f973ef3e7b49 | |
parent | 45f58365d6b0ef475407571c77cb98cd7ae1717e (diff) | |
parent | 814ba418732267d13bdbe01342d14b1c85171133 (diff) | |
download | ranger-9136820e615429d48bfd71225c96975dcfad8990.tar.gz |
Merge pull request #1708 from toonn/chain-macros
Don't resolve macros for chain
-rwxr-xr-x | ranger/config/commands.py | 1 | ||||
-rw-r--r-- | ranger/config/rc.conf | 2 |
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 |