config-bash/rc.d/todo.txt

15 lines
290 B
Bash

#!/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