Taskwarrior: Delete a task without confirmation

This commit is contained in:
Jeremy Gardais 2021-10-11 18:30:01 +02:00
parent 3e85006a6c
commit 74fcd2744b
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -450,7 +450,7 @@ function tadel() {
# Check confirmation
if printf -- '%s' "${tadel_confirmation:=y}" | grep --quiet --word-regexp -- "y"; then
task "${tadel_task_id}" delete
task rc.confirmation:no "${tadel_task_id}" delete
printf '%b' "\"${MAGENTAB}${tadel_task_id} ${tadel_task_desc}${RESET}\" task was removed."
fi