diff options
-rwxr-xr-x | 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 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) |