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
|
# Check confirmation
|
||||||
if printf -- '%s' "${tadel_confirmation:=y}" | grep --quiet --word-regexp -- "y"; then
|
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."
|
printf '%b' "\"${MAGENTAB}${tadel_task_id} − ${tadel_task_desc}${RESET}\" task was removed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue