Fish switched to rust on 4.0, so this patch needed to be updated to match that.
10 lines
394 B
Diff
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
|
|
}
|