diff --git a/src/shell/history.rs b/src/shell/history.rs index aa6c323..8e63148 100644 --- a/src/shell/history.rs +++ b/src/shell/history.rs @@ -45,7 +45,7 @@ pub fn get_curr_history_number() -> i32 { } pub fn get_history() -> Result { - let filepath = dirs::home_dir().unwrap().join("history.sqish"); + let filepath = dirs::home_dir().unwrap().join(".history.sqish"); let file = File::open(filepath)?; let contents = BufReader::new(file).lines(); let mut res = String::new();