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 support #188

Open
z0rc opened this issue Dec 2, 2016 · 3 comments
Open

$XDG_CONFIG_HOME support #188

z0rc opened this issue Dec 2, 2016 · 3 comments

Comments

@z0rc
Copy link

z0rc commented Dec 2, 2016

It's discouraged to put configuration dotfiles into home directory. Please use $XDG_CONFIG_HOME as a default user folder for vintrc. If this env var isn't set, the default fallback to ~/.config should be used.

You can find more at https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html. Please keep in mind, that this spec is applied console applications too. For example systemd, git, mc, htop and many others follow this spec.

@darnir
Copy link

darnir commented Aug 13, 2017

Is there some update on this? It would be nice for XDG_CONFIG_HOME to be supported

@Kuniwak
Copy link
Member

Kuniwak commented Aug 20, 2017

This feature was shpped at v0.3.14.
Please try it.

@z0rc
Copy link
Author

z0rc commented Sep 4, 2017

I eyeballed change in PR and there is one issue remains. Config files include dot at the beginning of filename. When using XDG config folder it discouraged to mark files placed there as "hidden", the dot prefix should be amended.

Also documentation/README needs to be updated too.

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

No branches or pull requests

3 participants