Add support for todo.txt

This commit is contained in:
Xavier Logerais 2014-03-30 21:33:59 +02:00
parent b84b30ab12
commit e003bd0c83

14
rc.d/todo.txt Normal file
View File

@ -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