diff options
-rw-r--r-- | ranger/config/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index f80d1838..2d830a0f 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -194,7 +194,7 @@ class shell(Command): command = 'cat %f' if command: if '%' in command: - command = self.fm.substitute_macros(command) + command = self.fm.substitute_macros(command, escape=True) self.fm.execute_command(command, flags=flags) def tab(self): |