Have you ever wanted to send desktop notifications from your command line on macOS? This can be particularly useful when you want to be notified when a long-running process completes. For example, you could append ; notify "Task completed!" to any command. While there are several ways to do this, I find using AppleScript through the osascript command to be the simplest approach. Here’s a handy shell function that lets you send notifications with just a single command.