nichts/packages/shell/fish-on-tmpfs.patch
Charlie Root b59c352f73
shell: update fish-on-tmpfs.patch
Fish switched to rust on 4.0, so this patch needed to be updated to
match that.
2025-03-07 09:53:41 +01:00

10 lines
394 B
Diff

--- a/src/path.rs
+++ b/src/path.rs
@@ -781,7 +781,7 @@ fn get_cache_directory() -> &'static BaseDirectory {
fn get_config_directory() -> &'static BaseDirectory {
static DIR: Lazy<BaseDirectory> =
- Lazy::new(|| make_base_directory(L!("XDG_CONFIG_HOME"), L!("/.config/fish")));
+ Lazy::new(|| make_base_directory(L!("XDG_RUNTIME_DIR"), L!("/.config/fish")));
&DIR
}