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
415 stars 42 forks source link

Notifications is send again when doing Ctrl+C #13

Closed onde2rock closed 5 years ago

onde2rock commented 5 years ago

Issue Details

When I do Ctrl+C on the command line after a command that triggered a notification, the notification is sent again.

Operating System (uname -a)

rhel

zsh version (zsh --version)

zsh 5.7.1 (x86_64-pc-linux-gnu)

auto-notify version (echo "$AUTO_NOTIFY_VERSION")

0.1.0

How is auto-notify installed?

manually

Steps to reproduce the issue

Run a long running command. When it exit, a notification is send. Do Ctrl+C => the notification is send again. Do Ctrl+C => the notification is send again. Do Ctrl+C => the notification is send again.

gist link to your zshrc

Gmrl config => https://git.grml.org/?p=grml-etc-core.git;a=blob_plain;f=etc/zsh/zshrc;hb=HEAD

MichaelAquilina commented 5 years ago

@onde2rock this is fixed in the latest release. Please upgrade to latest by git pulling (seeing as its installed manually).

You can tell if the plugin has been updated when the versions shows 0.3.0

onde2rock commented 5 years ago

Yes, the last version fixed it. Thanks