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

Don't use global settings #136

Closed
ghost opened this issue Apr 4, 2021 · 1 comment
Closed

Don't use global settings #136

ghost opened this issue Apr 4, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 4, 2021

Is it possible to use per directory project settings? That is: storing several dstask's tasks in directories foo and bar for example

@naggie
Copy link
Owner

naggie commented Apr 5, 2021

It is! Using direnv. See #20 for discussion.

https://direnv.net/

Currently there are 2 environment variables you can set to override the context and database location: https://github.com/naggie/dstask/blob/master/config.go#L26-L27

I (or anyone) need to get round to updating the README to say this.

@naggie naggie closed this as completed Sep 22, 2021
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

1 participant