Skip to content
Snippets Groups Projects
Commit f72dc6bd authored by theduke's avatar theduke Committed by Michael Aaron Murphy
Browse files

Increase default HISTFILE_SIZE to 100000 (#720)

Old default of 1000 is much too low.
parent d513a940
No related branches found
No related tags found
No related merge requests found
...@@ -100,4 +100,4 @@ Defaults to **$HOME/.local/share/ion/history** ...@@ -100,4 +100,4 @@ Defaults to **$HOME/.local/share/ion/history**
### HISTFILE_SIZE ### HISTFILE_SIZE
Specifies how many commands should be saved in `HISTFILE` at most. Specifies how many commands should be saved in `HISTFILE` at most.
Ideally, this should have the same value as `HISTORY_SIZE`. Ideally, this should have the same value as `HISTORY_SIZE`.
Defaults to **1000**. Defaults to **100000**.
...@@ -33,7 +33,7 @@ impl Default for Variables { ...@@ -33,7 +33,7 @@ impl Default for Variables {
let mut map = FnvHashMap::with_capacity_and_hasher(64, Default::default()); let mut map = FnvHashMap::with_capacity_and_hasher(64, Default::default());
map.insert("DIRECTORY_STACK_SIZE".into(), "1000".into()); map.insert("DIRECTORY_STACK_SIZE".into(), "1000".into());
map.insert("HISTORY_SIZE".into(), "1000".into()); map.insert("HISTORY_SIZE".into(), "1000".into());
map.insert("HISTFILE_SIZE".into(), "1000".into()); map.insert("HISTFILE_SIZE".into(), "100000".into());
map.insert( map.insert(
"PROMPT".into(), "PROMPT".into(),
"${x::1B}]0;${USER}: \ "${x::1B}]0;${USER}: \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment