diff options
author | Abdo Roig-Maranges <abdo.roig@gmail.com> | 2013-03-21 12:43:45 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-03-21 15:26:17 +0100 |
commit | 2214445dc164b18db18be291289c8b7f9059a0bd (patch) | |
tree | db9a3451c686c5a21241eb9b81a01799727acb55 | |
parent | b0a0e3882378da7a7c75019c04380507cfdaecf3 (diff) | |
download | ranger-2214445dc164b18db18be291289c8b7f9059a0bd.tar.gz |
fix missing quotes in shell macros
-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): |