shell: update fish-on-tmpfs.patch
Fish switched to rust on 4.0, so this patch needed to be updated to match that.
This commit is contained in:
parent
b624ea249d
commit
b59c352f73
1 changed files with 9 additions and 9 deletions
|
@ -1,10 +1,10 @@
|
||||||
--- a/src/path.cpp
|
--- a/src/path.rs
|
||||||
+++ b/src/path.cpp
|
+++ b/src/path.rs
|
||||||
@@ -384,7 +384,7 @@ static const base_directory_t &get_data_directory() {
|
@@ -781,7 +781,7 @@ fn get_cache_directory() -> &'static BaseDirectory {
|
||||||
}
|
|
||||||
|
fn get_config_directory() -> &'static BaseDirectory {
|
||||||
static const base_directory_t &get_config_directory() {
|
static DIR: Lazy<BaseDirectory> =
|
||||||
- static base_directory_t s_dir = make_base_directory(L"XDG_CONFIG_HOME", L"/.config/fish");
|
- Lazy::new(|| make_base_directory(L!("XDG_CONFIG_HOME"), L!("/.config/fish")));
|
||||||
+ static base_directory_t s_dir = make_base_directory(L"XDG_RUNTIME_DIR", L"/.config/fish");
|
+ Lazy::new(|| make_base_directory(L!("XDG_RUNTIME_DIR"), L!("/.config/fish")));
|
||||||
return s_dir;
|
&DIR
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue