MichaelAquilina / zsh-auto-notify

⏰ ZSH plugin that automatically sends out a notification when a long running task has completed.
GNU General Public License v3.0
404 stars 41 forks source link

Improve notifications on macOS #16

Closed dmitmel closed 5 years ago

dmitmel commented 5 years ago

Now body and title are passed as arguments to osascript instead of string escaping. This reduces edge cases from AppleScript's escape sequences. For example, previously I was able to crash your plugin with the following command:

echo '\"'; sleep 10