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

Fully respect xdg base dir spec #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mijoharas
Copy link

Hopefully this isn't too controversial, but the xdg base dir specification states that:

If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

ref from specification (similar for cache dir.).

We continue to check whether the old config directory is present first so that if people upgrade, they won't need to change anything, but otherwise, we default to following the specification.

@mijoharas
Copy link
Author

(Note: feel free to squash the commits, I started by creating a new env var, but figured since that required users wanting to stick with the old version to set some env vars, and would thus be a bit of a change for existing users I changed to what's there now. I left the commits as is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant