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

When looking in XDG_CONFIG_HOME YAML config file shouldn't have dot prefix #40

Open
cpjolicoeur opened this issue Feb 3, 2021 · 1 comment

Comments

@cpjolicoeur
Copy link
Contributor

When storing configuration files in XDG_CONFIG_HOME, it's not typical to also have the configuration file be a hidden file.

e.g.

~/.ticker.yaml
~/.config/ticker/ticker.yaml

This issue is just a placeholder to make the config file loader a bit more robust in how it search/loads the config file to allow for a bit more leeway. The README does note the file being called .ticker.yaml in both cases, but it would also be nice (perhaps) to allow for both styles.

@achannarasappa achannarasappa added this to the future milestone Feb 9, 2021
@boreq
Copy link

boreq commented Apr 15, 2021

I agree this is highly unusual and confusing. It took me a long while to find the config file. Additionally the file should be placed in a separate directory ticker within $XDG_CONFIG_HOME. This allows for flexibility when adding further configuration.

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

3 participants