mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 12:08:21 +00:00
Fix MacOSX notifications
This commit is contained in:
parent
eecf71b040
commit
bcef7c3cb3
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user