-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDG directory functions do not respect XDG variables on macOS #2434
Comments
Changing the behavior of the existing functions would break |
Yeah that's sound good, we should still update the documentation for the normal |
Well, dirs is used for other features like global justfile locating: Lines 14 to 19 in 4f31853
But since that wouldn't affect the backwards compatability of the justfiles themselves would that be a change that could be made at some point as well? |
Regarding #2439, I see the benefit, but it seems unfortunate to add a bunch more functions that are very close to existing functions. An alternative option would be to add a setting, like |
Due to long standing difficulties with (a/the) maintainer of dirs-rs, they refuse to recognize XDG environment variables explicitly defined by the user on macOS: dirs-dev/directories-rs#47.
config_directory()
will always go to/Users/<username>/Library/Application Support
on macOS, even if you have setXDG_CONFIG_HOME
. I would suggest using https://github.com/lunacookies/etcetera instead, though there may be other alternatives that also respect user preferences.The text was updated successfully, but these errors were encountered: