Skip to content

Commit ade9c77

Browse files
Wissebastinas
Wis
authored andcommitted
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?
1 parent 06382d9 commit ade9c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def loadini(struct, configfile):
7777
'highlight_show_source': True,
7878
'hist_duplicates': True,
7979
'hist_file': '~/.pythonhist',
80-
'hist_length': 100,
80+
'hist_length': 1000,
8181
'paste_time': 0.02,
8282
'pastebin_confirm': True,
8383
'pastebin_expiry': '1week',

0 commit comments

Comments
 (0)