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

Treat code 130 as success #63

Closed Grafcube closed 2 months ago

Grafcube commented 2 months ago

Exit code 130 is returned when a process is terminated with SIGINT (^C, Break). This happens frequently enough that the notification becomes an annoyance since it needs to be manually dismissed. This patch treats 130 as a success because typically, the user is already interacting with the program and doesn't need a persistent notification.

MichaelAquilina commented 2 months ago

Thanks for the contribution!