Skip to content
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_CONFIG_HOME Should Be Used When Available #699

Closed
FelicianoTech opened this issue Oct 13, 2019 · 2 comments · Fixed by #813
Closed

XDG_CONFIG_HOME Should Be Used When Available #699

FelicianoTech opened this issue Oct 13, 2019 · 2 comments · Fixed by #813
Labels
💪 improvement "Where we're going, we don't need roads."

Comments

@FelicianoTech
Copy link
Contributor

The environment variable XDG_CONFIG_HOME should be used when available as mentioned in the Free Desktop specification: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

I see close mentions of this in the source code right now but it's not actually implemented.

I can work on this if it's agreed that this should be worked on.

@FelicianoTech FelicianoTech changed the title $XDG_CONFIG_HOME Should Be Used When Available XDG_CONFIG_HOME Should Be Used When Available Oct 13, 2019
@senorprogrammer senorprogrammer added the 💪 improvement "Where we're going, we don't need roads." label Oct 15, 2019
@senorprogrammer
Copy link
Collaborator

Agreed. This would be an excellent improvement.

@OJFord
Copy link

OJFord commented May 17, 2020

Note that the docs currently still say just 'looks in .config/wtf':
https://wtfutil.com/configuration/

The value of mine does happen to be ~/.config (it's just not worth the hassle of dealing with not only $HOME polluters, but '~/.config is the same thing, right?' tools too IMO) but it'd be good to make it clear that the env var is respected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 improvement "Where we're going, we don't need roads."
Development

Successfully merging a pull request may close this issue.

3 participants