summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThe Flying Rapist <admin@nosuck.org>2016-07-10 14:45:07 -0400
committerThe Flying Rapist <admin@nosuck.org>2016-07-10 14:45:07 -0400
commitab6643976a91e2517af224e6c2ab99f631660cd7 (patch)
tree6e28db42d1601b029340ea60effbb01fd96d3e0e
parent4fb579e87b4db55842f1f34eae74da17a03d0ed8 (diff)
downloadranger-ab6643976a91e2517af224e6c2ab99f631660cd7.tar.gz
Command chaining now handles semicolon whitespace.
-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 7507b2b1..a5117696 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -195,7 +195,7 @@ class chain(Command):
     Calls multiple commands at once, separated by semicolons.
     """
     def execute(self):
-        for command in self.rest(1).split(";"):
+        for command in [s.strip() for s in self.rest(1).split(";")]:
             self.fm.execute_console(command)