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:
parent
b3a19fe439
commit
410be89b1d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user