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

A list of command which would notify evne if they run for < threshold #40

Open gohilurvish opened 2 years ago

gohilurvish commented 2 years ago

Issue Details

I use a mac and I have an alias notifyme which is:osascript -e 'display notification "Ho Ho Ho..." with title "iTerm Alert"'

I use this after the make command like make xxx; notifyme so it would tell me that the make is done. I need that as I generally move to different desktop after starting the build. While the make normally take >2min to run, at time it fails in 2-3sec. And that is when I would miss the notification. I don't want to lower overall threshold to <10s. It would be nice if there can be a list of command which would send notification even if the time is < threshold.

Please provide the following details when opening an issue:

Operating System (uname -a)

M1 Macbook : RELEASE_ARM64_T8101 arm64

zsh version (zsh --version)

zsh 5.8.1 (x86_64-apple-darwin21.0)

auto-notify version (echo "$AUTO_NOTIFY_VERSION")

0.8.0

How is auto-notify installed?

Steps to reproduce the issue

Run the command which takes time shorter then threshold.

gist link to your zshrc

I dont know what this is.