Taskwarrior: Possibility to purge after deletion
This commit is contained in:
parent
1c24842d61
commit
08cd6b1f89
3
zshrc
3
zshrc
|
@ -454,6 +454,9 @@ function tadel() {
|
||||||
printf '%b' "\"${MAGENTAB}${tadel_task_id} − ${tadel_task_desc}${RESET}\" task was removed.\n"
|
printf '%b' "\"${MAGENTAB}${tadel_task_id} − ${tadel_task_desc}${RESET}\" task was removed.\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Also offer to purge this task
|
||||||
|
tapurge "${tadel_task_desc}"
|
||||||
|
|
||||||
# Unset defined variables
|
# Unset defined variables
|
||||||
unset tadel_confirmation tadel_task_id
|
unset tadel_confirmation tadel_task_id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue