Comment

Comment by maerF0x0

I use the following in Bash.

    function notifyme() {
       MSG=${1:-'Terminal is done'}
       TITLE=${2:-"Done!"}
       osascript -e "display notification \"${MSG}\" with title \"${TITLE}\""
    }
I use it like:

bin/start-unit-tests; notifyme

parent maerF0x0 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton