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