Taskwarrior: Possibility to purge after deletion

This commit is contained in:
Jeremy Gardais 2021-10-11 18:47:03 +02:00
parent 1c24842d61
commit 08cd6b1f89
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 0 deletions

3
zshrc
View File

@ -454,6 +454,9 @@ function tadel() {
printf '%b' "\"${MAGENTAB}${tadel_task_id} ${tadel_task_desc}${RESET}\" task was removed.\n"
fi
# Also offer to purge this task
tapurge "${tadel_task_desc}"
# Unset defined variables
unset tadel_confirmation tadel_task_id
}