mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
fix for prtk history size
This commit is contained in:
parent
2490c88917
commit
b66920b710
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def setup_history():
|
|||
def teardown_history(history):
|
||||
"""Tears down the history object."""
|
||||
env = builtins.__xonsh_env__
|
||||
hsize = env.get('XONSH_HISTORY_SIZE', (8128, 'commands'))
|
||||
hsize = env.get('XONSH_HISTORY_SIZE', (8128, 'commands'))[0]
|
||||
hfile = env.get('XONSH_HISTORY_FILE',
|
||||
os.path.expanduser('~/.xonsh_history'))
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue