config-bash/rc.d/todo.txt

15 lines
290 B
Plaintext
Raw Normal View History

2014-03-30 21:33:59 +02:00
#!/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