From e003bd0c831512f6969da36483487628776d4d1a Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Sun, 30 Mar 2014 21:33:59 +0200 Subject: [PATCH] Add support for todo.txt --- rc.d/todo.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rc.d/todo.txt 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