Add warning for unsupported platforms
This commit is contained in:
parent
bcef7c3cb3
commit
d40a07369f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue