Easy Notification Center notifications for your shell scripts [MacOS]
- Download the
notify
script from this repository - Open Terminal and enter the following commands:
cd ~/Downloads/
(or whichever folder you have saved thenotify
script to)chmod +x notify
sudo mv notify /usr/local/bin/
Simply add this code to your shell scripts or paste it in a Terminal window to test it:
Replace
title of the notification
andbody of the notification
with the text you would like to use.