feat: Amélioration configuration pour Taskwarrior

This commit is contained in:
Xavier Logerais 2024-02-29 15:19:54 +01:00
parent 0b9532e95b
commit 710ad109cc
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#
# Aliases for taskwarrior
#
if (which task &> /dev/null)
if (command -v task &> /dev/null)
then
alias t='task'
alias tl='task list'

7
completion.d/taskwarrior Normal file
View File

@ -0,0 +1,7 @@
#
# Completion for taskwarrior
#
if (command -v task &> /dev/null)
then
complete -o nospace -F _task t
fi