From 2cea873aab3a4a61db3f8a99a1478a3395b280ca Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 9 Dec 2012 15:23:30 +0100 Subject: api.commands: fix "alias" command to work with extra arguments --- ranger/api/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 15816247..37d3dec0 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -332,4 +332,4 @@ class AliasCommand(Command): _function_name = "unknown" _line = "" def execute(self): - self.fm.execute_console(self._line) + self.fm.execute_console(self._line + ' ' + self.rest(1)) -- cgit 1.4.1-2-gfad0