+try:
+ data = load_config(rainbow_config)
+ for d in data:
+ c[d] = data[d]
+except:
+ print('It seems that ~/.rainbow_config.json has wrong format :(')
+
+# Load default theme
+theme_file = os.path.dirname(
+ __file__) + '/colorset/' + c['THEME'] + '.json'
+try:
+ data = load_config(theme_file)