naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
794 stars 47 forks source link

Don't use global settings #136

Closed ghost closed 2 years ago

ghost commented 3 years ago

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

naggie commented 3 years ago

It is! Using direnv. See https://github.com/naggie/dstask/issues/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.