Marty Oehme
6908c19457
Added simple script `task-overdue-prompt` which checks for overdue tasks (*not* tasks to be done 'today') and display a skull if there are any. Intended for prompt use, it is currently still too slow to be used as such. But there may still be uses other than that so it is included for now.
8 lines
266 B
Bash
Executable file
8 lines
266 B
Bash
Executable file
#!/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 "💀"
|