Add warning for unsupported platforms

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

View file

@ -25,6 +25,9 @@ function _auto_notify_message() {
notify-send "$text"
elif [[ "$platform" == "Darwin" ]]; then
osascript -e "display notification \"$text\" with title \"Command Completed\""
else
printf "Unknown platform for sending notifications: $platform\n"
printf "Please post an issue on gitub.com/MichaelAquilina/zsh-auto-notify/issues/"
fi
}