diff --git a/rc.d/todo.txt b/rc.d/todo.txt new file mode 100644 index 0000000..8eab41f --- /dev/null +++ b/rc.d/todo.txt @@ -0,0 +1,14 @@ +#!/bin/bash + +if [ -f ~/software/todo.txt-cli/todo.sh ]; then + + source ~/software/todo.txt-cli/todo_completion + export TODOTXT_DEFAULT_ACTION=ls + + alias todo='~/software/todo.txt-cli/todo.sh' + complete -F _todo todo + + alias t='~/software/todo.txt-cli/todo.sh' + complete -F _todo t + +fi