mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:26:01 +02:00
default history size to 100k (#1845)
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user