bash-todo: A TODO list in your terminal window

I recently saw this question posted in /r/bash and thought “that’s something I’d also use”. After seeing /u/whetu‘s comment and thinking about it, I realised it should be fairly easy to build a script that does exactly what’s required.

After a bit of tinkering and adding some basic styles I wrapped it up into a small Bash/Perl script (a polyglot, just for fun…) and placed it on GitHub. I’ve added a few basic switches to toggle/delete items, or slurp items from STDIN.

As part of this I also repurposed parts of my bash-ps1 tool so that you can easily create style strings including the colours and styling to help make your TODO list look just the way you want it. It’s available here and the source code is also on GitHub.