summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-12-09 15:23:30 +0100
committerhut <hut@lavabit.com>2012-12-09 15:23:30 +0100
commit2cea873aab3a4a61db3f8a99a1478a3395b280ca (patch)
tree9e3add45dadd99326733bff3ce45e24d801d9c07
parenta279353c64008a60092fe13638ef67a3da1fc1ef (diff)
downloadranger-2cea873aab3a4a61db3f8a99a1478a3395b280ca.tar.gz
api.commands: fix "alias" command to work with extra arguments
-rw-r--r--ranger/api/commands.py2
1 files changed, 1 insertions, 1 deletions
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))