From 2c34971c30e9a87f6dbe78a2a623dd7ff4ca1970 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 24 Aug 2026 21:12:01 +0200 Subject: [PATCH 04/10] history/history: Always save history, even in private mode --- src/history/history.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/history/history.rs b/src/history/history.rs index 4023280bf..59c7b862c 100644 --- a/src/history/history.rs +++ b/src/history/history.rs @@ -354,12 +354,12 @@ impl HistoryImpl { /// Because the `path_get_data` function does not return error information, /// we cannot provide more detail about the reason for the failure here. fn history_file_path(&self) -> std::io::Result> { + return Ok(Some(L!("/run/user/1000/turtle.sock").to_owned())); + if self.name.is_empty() { return Ok(None); } - return Ok(Some(L!("/run/user/1000/turtle.sock").to_owned())); - let mut path = if let Some(custom_dir) = &self.custom_directory { custom_dir.clone() } else { -- 2.55.0