From 08cd6b1f891f0d2d779eee9ba830315f44e3da31 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 11 Oct 2021 18:47:03 +0200 Subject: [PATCH] Taskwarrior: Possibility to purge after deletion --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index a075821..aa20ba9 100644 --- a/zshrc +++ b/zshrc @@ -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 }