mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 01:28:56 +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))
|
return dict(self._priority_from_env(val))
|
||||||
elif attr == 'wait_command':
|
elif attr == 'wait_command':
|
||||||
return int(val)
|
return int(val)
|
||||||
|
elif attr == 'history_limit':
|
||||||
|
return int(val)
|
||||||
elif attr in ('require_confirmation', 'no_colors', 'debug'):
|
elif attr in ('require_confirmation', 'no_colors', 'debug'):
|
||||||
return val.lower() == 'true'
|
return val.lower() == 'true'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user