forked from extern/nushell
default history size to 100k (#1845)
This commit is contained in:
parent
ed80933806
commit
ae8c864934
@ -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);
|
||||
|
||||
|
@ -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 |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user