summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py
index c821a23c..79e280f5 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -40,6 +40,8 @@ def main():
 	if args.cd_after_exit:
 		sys.stderr = sys.__stdout__
 	
+	SettingsAware._setup()
+
 	# Initialize objects
 	target = ' '.join(rest)
 	if target:
@@ -55,7 +57,6 @@ def main():
 	else:
 		path = '.'
 
-	SettingsAware._setup()
 	Environment(path)
 
 	try: