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 · May be fixed by #273
Open

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

cpjolicoeur opened this issue Feb 3, 2021 · 1 comment · May be fixed by #273

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.

tutilus added a commit to tutilus/ticker that referenced this issue Jul 6, 2024
@tutilus tutilus linked a pull request Aug 1, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants