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

Should use $XDG_CONFIG_HOME/ghorg for config file #65

Closed
liljenstolpe opened this issue May 22, 2020 · 2 comments
Closed

Should use $XDG_CONFIG_HOME/ghorg for config file #65

liljenstolpe opened this issue May 22, 2020 · 2 comments

Comments

@liljenstolpe
Copy link

Is your feature request related to a problem? Please describe.
On most !OSX unix-like boxen $XDG_CONFIG_HOME (usually $HOME/.config) is a single place to look for all of your application configuration files, making it easy to version control, etc. Having ghorg use $HOME/ghorg leads to a messier $HOME, and yet one more place to hoover things up.

Describe the solution you'd like

If $XDG_CONFIG_HOME is defined, store your configs in $XDG_CONFIG_HOME/ghorg. Otherwise, default - probably to $HOME/.config/ghorg - a number of CLI OSX applications use that now, as well.

Describe alternatives you've considered

Symlinks... :(

Additional context

@gabrie30
Copy link
Owner

Changes are now on master and will be included in the next release. Please let me know if you find any issues. Thanks again @liljenstolpe!

@liljenstolpe
Copy link
Author

Thank's @gabrie30

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

No branches or pull requests

2 participants