#!/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 "💀"
