Send MacOS Push Notifications
# send push notification on osx
# single line
/usr/bin/osascript -e "display notification 'finished' with title 'foo'"
# alias
alias notify='/usr/bin/osascript -e "display notification 'finished' with title 'foo'"'
# adds 'notify' func to local/bin
{
echo '#!/bin/bash'
echo '/usr/bin/osascript -e "display notification \"$*\""'
} | sudo tee /usr/local/bin/notify > /dev/null && sudo chmod +x /usr/local/bin/notify