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

use $XDG_CONFIG_HOME as config base dir #189

Closed
MartinNowak opened this issue Oct 2, 2018 · 1 comment
Closed

use $XDG_CONFIG_HOME as config base dir #189

MartinNowak opened this issue Oct 2, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@MartinNowak
Copy link
Contributor

To follow the XDG Base Directory Specification, simplify administration and backup, and avoid messy home directories.

The default for an undefined $XDG_CONFIG_HOME is $HOME/.config.

Would prolly make sense to put the config in a subfolder, i.e. $XDG_CONFIG_HOME/hetzner-kube/config.json. A plain file would be OK as well if chances for needing another file are slim, i.e. $XDG_CONFIG_HOME/hetzner-kube.json.

@mavimo mavimo added the enhancement New feature or request label Oct 19, 2018
@mavimo mavimo self-assigned this Nov 12, 2018
mavimo added a commit to mavimo/hetzner-kube that referenced this issue Nov 12, 2018
mavimo added a commit to mavimo/hetzner-kube that referenced this issue Nov 12, 2018
@mavimo
Copy link
Collaborator

mavimo commented Nov 12, 2018

@MartinNowak @eliasp can you test the PR reported and give me some more feedback? Thx! 🤗

xetys added a commit that referenced this issue Nov 13, 2018
…s-config-base-dir

refs #189: set config dir based on XDG Base Directory Specification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants