default history size to 100k (#1845)

This commit is contained in:
James Campos 2020-05-19 12:28:06 -07:00 committed by GitHub
parent ed80933806
commit ae8c864934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,7 @@ pub async fn cli(
let max_history_size = config::config(Tag::unknown())?
.get("history_size")
.map(|i| i.value.expect_int())
.unwrap_or(100);
.unwrap_or(100_000);
rl.set_max_history_size(max_history_size as usize);

View File

@ -37,7 +37,7 @@ Syntax: `config {flags}`
| table_mode | "light" or other | enable lightweight or normal tables |
| edit_mode | "vi" or "emacs" | changes line editing to "vi" or "emacs" mode |
| key_timeout | integer (milliseconds) | vi: the delay to wait for a longer key sequence after ESC |
| history_size | integer | maximum entries that will be stored in history (100 default) |
| history_size | integer | maximum entries that will be stored in history (100,000 default) |
| completion_mode | "circular" or "list" | changes completion type to "circular" (default) or "list" mode |
| no_auto_pivot | boolean | whether or not to automatically pivot single-row results |