I have set up a pesky little script called ,notify (to understand the comma, read the article linked) that reads:

#!/bin/zsh
curl -D POST -d "$1" https://ntfy.sh/[my-notification-id]

Similar to how I have set up Deploy notifications from Netlify with ntfy.sh, this script allows me to do:

long-running-command && ,notify [message]

and when it’s done, I get a notification on my phone to let me know it’s time to get back. This is a nice optimisation for time use as I can play games on my Steam Deck or take care of some household chores while waiting for the long running command to end. Especially when I need to do many of them back to back manually.

When using this, I recommend going to the nfty mobile app, choose your subscription stream, go to Subscription Settings and turn “Instant Delivery” on. This helps bring the notifications to you sooner as the app checks more aggressively/often for messages.