summary refs log tree commit diff stats
path: root/ranger/keyapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/keyapi.py')
-rw-r--r--ranger/keyapi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/keyapi.py b/ranger/keyapi.py
index 93ee478b..c8c60b77 100644
--- a/ranger/keyapi.py
+++ b/ranger/keyapi.py
@@ -27,7 +27,10 @@ def make_abbreviations(command_list):
 	def hint(*args):
 		command_list.hint(args[-1], *args[:-1])
 
-	return bind, hint
+	def alias(*args):
+		command_list.alias(*args)
+
+	return bind, hint, alias
 
 class Wrapper(object):
 	def __init__(self, firstattr):