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

Use .config directory for taskbook.json #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebastiansandqvist
Copy link

@sebastiansandqvist sebastiansandqvist commented Aug 2, 2018

If it can't be specified dynamically, it is nice to have config files located in the ~/.config directory. This follows the standard used by many other programs and prevents the homedir from getting unreasonably cluttered with configs.

Docs still need to be updated if you decide to merge this. You might also want to check the current location for backwards compatibility--I'm happy to make these changes if you are open to the idea in the first place.

If it can't be specified dynamically, it is nice to have config files located in the ~/.config directory. This follows the standard used by many thousands of other programs and prevents the homedir from getting unreasonably cluttered with configs.

Docs still need to be updated.
Copy link

@chocolateboy chocolateboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest using ${XDG_CONFIG_HOME:-~/.config} (via e.g. xdg-basedir), rather than hardwiring the path.

Also, it should be noted that this convention is specific to Linux.

Links

@klaudiosinani klaudiosinani added the enhancement New feature or request label Aug 7, 2018
@klaudiosinani klaudiosinani self-requested a review August 7, 2018 16:17
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 this pull request may close these issues.

None yet

3 participants