history limit from settings

This commit is contained in:
lovedboy
2015-10-29 10:14:34 +08:00
parent 372e983459
commit b3a19fe439
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -16,6 +16,7 @@ DEFAULT_SETTINGS = {'rules': DEFAULT_RULES,
'no_colors': False,
'debug': False,
'priority': {},
'history_limit': None,
'env': {'LC_ALL': 'C', 'LANG': 'C', 'GIT_TRACE': '1'}}
ENV_TO_ATTR = {'THEFUCK_RULES': 'rules',
@@ -126,4 +127,3 @@ class Settings(dict):
settings = Settings(DEFAULT_SETTINGS)
settings.init()