Closed noahmayr closed 1 year ago
Looks good. Thanks :+1:
Actually, it looks like, if the XDG_CONFIG_HOME is unset, on Mac, it will break the existing config. Am I right?
Ok, as per the docs, it shouldn't.
XDG_CONFIG_HOME; if not set: assumed to be $HOME/.config
Merging it to dev
branch for now. Will test it later.
Ok, as per the docs, it shouldn't.
XDG_CONFIG_HOME; if not set: assumed to be $HOME/.config
Yeah tested this as well, seems to work both with and without.
Alternative solution to #630 to solve #627.
I created a
dirs.rs
module wrapping xdg and also moved the env::temp_dir() fallback for the runtime dir in there as well, since it seemed like a good fit. If you want we could also move more of the config file finding logic here.