From bcef7c3cb3faef297b1c262e38146fb5d1297b8c Mon Sep 17 00:00:00 2001 From: Michael Aquilina Date: Mon, 15 Jul 2019 10:29:11 +0100 Subject: [PATCH] Fix MacOSX notifications --- auto-notify.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-notify.plugin.zsh b/auto-notify.plugin.zsh index b36fd8c..ff39fda 100644 --- a/auto-notify.plugin.zsh +++ b/auto-notify.plugin.zsh @@ -24,7 +24,7 @@ function _auto_notify_message() { if [[ "$platform" = "Linux" ]]; then notify-send "$text" elif [[ "$platform" == "Darwin" ]]; then - display notification "$text" with title "Command Completed" + osascript -e "display notification \"$text\" with title \"Command Completed\"" fi }