/Easy-Terminal-Notifications

Easy Notification Center notifications for your shell scripts [MacOS]

Primary LanguageShell

Easy-Terminal-Notifications

Easy Notification Center notifications for your shell scripts [MacOS]

1) Installation

  1. Download the notify script from this repository
  2. Open Terminal and enter the following commands:
    • cd ~/Downloads/ (or whichever folder you have saved the notify script to)
    • chmod +x notify
    • sudo mv notify /usr/local/bin/

2) Usage

Simply add this code to your shell scripts or paste it in a Terminal window to test it:

  • notify "title of the notification" "body of the notification"

    Screenshot

Replace title of the notification and body of the notification with the text you would like to use.

Enjoy! :)