Taskwarrior: Delete a task without confirmation
This commit is contained in:
parent
3e85006a6c
commit
74fcd2744b
2
zshrc
2
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue