1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

int history limit

This commit is contained in:
lovedboy 2015-10-30 11:38:57 +08:00
parent b3a19fe439
commit 410be89b1d

View File

@ -114,6 +114,8 @@ class Settings(dict):
return dict(self._priority_from_env(val))
elif attr == 'wait_command':
return int(val)
elif attr == 'history_limit':
return int(val)
elif attr in ('require_confirmation', 'no_colors', 'debug'):
return val.lower() == 'true'
else: