summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-30 16:46:59 +0200
committerhut <hut@lavabit.com>2011-09-30 16:46:59 +0200
commitdedc56b6d68dec95b688e47bbadb6bdea9c39568 (patch)
tree7848a65cc879dbd01e262559f895daabb817b927
parentf93725f5ff3890c99c65f5fa2998d9eeda6dd16b (diff)
downloadranger-dedc56b6d68dec95b688e47bbadb6bdea9c39568.tar.gz
core.helper: fixed --clean flag
-rw-r--r--ranger/core/helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/helper.py b/ranger/core/helper.py
index a02cb0c0..57102582 100644
--- a/ranger/core/helper.py
+++ b/ranger/core/helper.py
@@ -152,8 +152,10 @@ def load_settings(fm, clean):
 		comcont = ranger.api.commands.CommandContainer()
 		ranger.api.commands.alias = comcont.alias
 		from ranger.defaults import commands, keys, apps
+		comcont.load_commands_from_object(fm, dir(Actions))
 		comcont.load_commands_from_module(commands)
 		fm.commands = comcont
+		fm.source_cmdlist(fm.relpath('defaults', 'rc.conf'))
 		fm.apps = apps.CustomApplications()