Something I forgot I have in my macOS dotfiles:
alias DONE="osascript -e 'display notification \"DONE\"'"

As in:
$ [long running command] && DONE


And now that I've written that I’m realizing the double-ampersand approach would never alert on an error state.

This is the better way:
$ [long running command]; DONE

Sign in to participate in the conversation

A Fediverse instance for people interested in cooperative and collective projects.