config-bash/rc.d/todo.txt
Xavier Logerais (Numericable - Ingénierie Système) 166d03114b Modified todo.txt
2014-05-21 11:29:04 +02:00

19 lines
370 B
Bash

#!/bin/bash
if [ -f ~/software/todo.txt-cli/todo.sh ]; then
export TODOTXT_DEFAULT_ACTION=ls
source ~/software/todo.txt-cli/todo_completion
alias todo.sh='~/software/todo.txt-cli/todo.sh'
complete -F _todo todo.sh
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