about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index bef471c8..ea2ab982 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -850,7 +850,7 @@ class console(Command):
             separate = self.arg(2)
             position = command.find(separate)
             if position != -1:
-                command = command.replace(separate, '')
+                command = command.replace(separate, '', 1)
             else:
                 position = None
         self.fm.open_console(command, position=position)