Skip to content

Commit

Permalink
update history default size
Browse files Browse the repository at this point in the history
  • Loading branch information
mitnk committed Jun 20, 2017
1 parent daa8489 commit 909493c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tools;
use shell;

pub fn init(rl: &mut Reader<DefaultTerminal>) {
let mut hist_size: usize = 9999; // make default bigger but not huge
let mut hist_size: usize = 999;
if let Ok(x) = env::var("HISTORY_SIZE") {
if let Ok(y) = x.parse::<usize>() {
hist_size = y;
Expand Down

0 comments on commit 909493c

Please sign in to comment.