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

Configuration file stored in $HOME, as opposed to $XDG_CONFIG_HOME #9

Closed
aidanholm opened this issue May 14, 2015 · 1 comment
Closed
Labels

Comments

@aidanholm
Copy link

It would be preferable if the .wegorc file were stored in $XDG_CONFIG_HOME, as opposed to cluttering the home directory.

@schachmat
Copy link
Owner

Since $XDG_CONFIG_HOME is not set on all systems and golang guarantees to provide a useful value for User.HomeDir. Since the filename begins with a dot, you can easily hide it from your listings.

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

No branches or pull requests

2 participants