summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorAbdo Roig-Maranges <abdo.roig@gmail.com>2013-03-21 12:43:45 +0100
committerhut <hut@lavabit.com>2013-03-21 15:26:17 +0100
commit2214445dc164b18db18be291289c8b7f9059a0bd (patch)
treedb9a3451c686c5a21241eb9b81a01799727acb55 /ranger
parentb0a0e3882378da7a7c75019c04380507cfdaecf3 (diff)
downloadranger-2214445dc164b18db18be291289c8b7f9059a0bd.tar.gz
fix missing quotes in shell macros
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/commands.py2
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):