2014-03-30 21:33:59 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ -f ~/software/todo.txt-cli/todo.sh ]; then
|
|
|
|
|
|
|
|
export TODOTXT_DEFAULT_ACTION=ls
|
|
|
|
|
2014-05-21 11:29:04 +02:00
|
|
|
source ~/software/todo.txt-cli/todo_completion
|
|
|
|
|
|
|
|
alias todo.sh='~/software/todo.txt-cli/todo.sh'
|
|
|
|
complete -F _todo todo.sh
|
|
|
|
|
2014-03-30 21:33:59 +02:00
|
|
|
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
|