From b113638a4a3283b95029fe67fe575ae37e1b768a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 24 Aug 2026 21:12:01 +0200 Subject: [PATCH 05/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 90cbfe6a9..b721e04df 100644 --- a/src/history/history.rs +++ b/src/history/history.rs @@ -355,12 +355,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