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 should be searched for in user dir #10

Closed
moggers87 opened this issue Jan 22, 2021 · 0 comments · Fixed by #18
Closed

Configuration should be searched for in user dir #10

moggers87 opened this issue Jan 22, 2021 · 0 comments · Fixed by #18
Labels
enhancement New feature or request
Milestone

Comments

@moggers87
Copy link
Owner

Currently the only place Apricots looks for configuration is $prefix/share/apricots/apricots.cfg. It would be nice if it looked in $XDG_CONFIG_HOME/apricots/apricots.cfg too.

Related to #3

@moggers87 moggers87 added the enhancement New feature or request label Jan 22, 2021
@moggers87 moggers87 added this to the v0.2.7 milestone Feb 8, 2021
moggers87 added a commit that referenced this issue Feb 9, 2021
- Require C++17 so we can use filesystem utils
- Check user config dir, system config dir, and then data dir in that
  order

Fixes #10
@moggers87 moggers87 linked a pull request Feb 9, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant