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
|
||||
+++ b/src/path.cpp
|
||||
@@ -384,7 +384,7 @@ static const base_directory_t &get_data_directory() {
|
||||
}
|
||||
--- a/src/path.rs
|
||||
+++ b/src/path.rs
|
||||
@@ -781,7 +781,7 @@ fn get_cache_directory() -> &'static BaseDirectory {
|
||||
|
||||
static const base_directory_t &get_config_directory() {
|
||||
- static base_directory_t s_dir = 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");
|
||||
return s_dir;
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue