diff options
Diffstat (limited to 'pkgs/by-name/fi/fish-patched/patches/0004-history-history-Always-save-history-even-in-private-.patch')
| -rw-r--r-- | pkgs/by-name/fi/fish-patched/patches/0004-history-history-Always-save-history-even-in-private-.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/fi/fish-patched/patches/0004-history-history-Always-save-history-even-in-private-.patch b/pkgs/by-name/fi/fish-patched/patches/0004-history-history-Always-save-history-even-in-private-.patch new file mode 100644 index 00000000..c8515067 --- /dev/null +++ b/pkgs/by-name/fi/fish-patched/patches/0004-history-history-Always-save-history-even-in-private-.patch @@ -0,0 +1,32 @@ +From 2c34971c30e9a87f6dbe78a2a623dd7ff4ca1970 Mon Sep 17 00:00:00 2001 +From: Benedikt Peetz <benedikt.peetz@b-peetz.de> +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<Option<WString>> { ++ 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 + |
