Fix MacOSX notifications

This commit is contained in:
Michael Aquilina 2019-07-15 10:29:11 +01:00
parent eecf71b040
commit bcef7c3cb3
No known key found for this signature in database
GPG key ID: 636066730B056BD1

View file

@ -24,7 +24,7 @@ function _auto_notify_message() {
if [[ "$platform" = "Linux" ]]; then if [[ "$platform" = "Linux" ]]; then
notify-send "$text" notify-send "$text"
elif [[ "$platform" == "Darwin" ]]; then elif [[ "$platform" == "Darwin" ]]; then
display notification "$text" with title "Command Completed" osascript -e "display notification \"$text\" with title \"Command Completed\""
fi fi
} }