summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/config/commands.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 66cb2cc8..f734d64a 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -209,8 +209,6 @@ class shell(Command):
             flags = ''
             command = self.rest(1)
 
-        if not command and 'p' in flags:
-            command = 'cat %f'
         if command:
             self.fm.execute_command(command, flags=flags)