Add support for todo.txt
This commit is contained in:
parent
b84b30ab12
commit
e003bd0c83
14
rc.d/todo.txt
Normal file
14
rc.d/todo.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user