From b7170f04f24d5871d5bef6394731558cd3cf3933 Mon Sep 17 00:00:00 2001 From: Wis <~@wis.am> Date: Wed, 1 May 2019 01:48:01 +0300 Subject: [PATCH] 10x the too low hist_length default of 100 to 1000 I just lost a useful function I wrote that I hoped I could find in the history file. a utf-8 encoded history file having 1000 lines of code less that 80 columns/characters long less than ~80 kilobytes in size. or is the concern more about the look up time for autocomplete and the responsiveness of typing? --- bpython/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpython/config.py b/bpython/config.py index a3cca3bc1..aca3c2f5b 100644 --- a/bpython/config.py +++ b/bpython/config.py @@ -77,7 +77,7 @@ def loadini(struct, configfile): 'highlight_show_source': True, 'hist_duplicates': True, 'hist_file': '~/.pythonhist', - 'hist_length': 100, + 'hist_length': 1000, 'paste_time': 0.02, 'pastebin_confirm': True, 'pastebin_expiry': '1week',