diff --git a/taskwarrior/.local/bin/task-overdue-prompt b/taskwarrior/.local/bin/task-overdue-prompt new file mode 100755 index 0000000..db244f1 --- /dev/null +++ b/taskwarrior/.local/bin/task-overdue-prompt @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh +# Simple script to display a skull if there are overdue tasks. +# Intended for prompt use +# (to be visibly reminded on the prompt of any tardiness) + +type task >/dev/null 2>&1 || exit 1 + +[ "$(task +OVERDUE -TODAY count)" -ge 0 ] && print -P "💀"