These files are always sourced (never executed directly), so the #!/bin/bash shebang is inert and misleading. Drop it consistently across rc.d/*, profile.d/*, and aliases.d/*.
17 lines
357 B
Plaintext
17 lines
357 B
Plaintext
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
|