I use:
``` #!/usr/bin/env bash
set -u
title=${2:-Shell}
msg=$1
osascript -e "display notification \"$1\" with title \"$title\""
```As `~/bin/,notify` and put it at the end of long-running commands:
``` run_this_program && ,notify "Long program is done!" ```
replies(2):