Skip to content

Fully respect xdg base dir spec#47

Open
mijoharas wants to merge 3 commits intodcreemer:masterfrom
mijoharas:fully-respect-xdg-base-dir-spec
Open

Fully respect xdg base dir spec#47
mijoharas wants to merge 3 commits intodcreemer:masterfrom
mijoharas:fully-respect-xdg-base-dir-spec

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