From 74fcd2744bc1ba591f2c0422696a24c9fcd5db8a Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 11 Oct 2021 18:30:01 +0200 Subject: [PATCH] Taskwarrior: Delete a task without confirmation --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 25602d0..e22a9ca 100644 --- a/zshrc +++ b/zshrc @@ -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