mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 03:58:44 +00:00
Add warning for unsupported platforms
This commit is contained in:
parent
bcef7c3cb3
commit
d40a07369f
@ -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…
x
Reference in New Issue
Block a user