Translate

Monday 28 September 2015

Devtodo2

Quick shout out to a nice terminal todo list. http://swapoff.org/devtodo.html
Even more useful with this bash function. Just put it in your ~/.bashrc.

alias todo="/path/to/devtodo2"
function workspace_cd() {
    cd $@ && [ -f ".todo2" ] && todo
}

alias cd="workspace_cd"
Now, every time I cd into a directory with a .todo2 file, I get a reminder of the todo items in that dir.