I am using a command line task manager called dstask. It can import tasks from Taskwarrior, but uses a git repository for sync. I like this approach, because I found the Taskwarrior server implementation very difficult to set up.
It does have fewer features than the Taskwarrior ecosystem, though. But I've hacked together a little dashboard script for my terminal. It uses `entr` to continuously refresh every time a change in the dstask repo is detected.
tasklist () { while true do fd -g '*.yml' ~/.dstask | entr -cd dstask code=$? if [[ $code == 130 ]] || [[ $code == 143 ]] then return 1 fi sleep 1 done }
It's just a little function. The check for exit codes are, 130 for SIGINT and 143 for SIGTERM. Otherwise we keep on looping (a file being removed from one of the dirs under ~/.dstask results in a non-zero exit code).
And of course we're using fd-find, because it's way easier than old school find :)
Command line fun!
Published 2020-06-24