sudofox / shell-mommy

Mommy is here for you on the command line ~ ❤️
394 stars 15 forks source link

made it so that a failure message isn't shown on intentional interrupts i.e. Ctrl+C or exit code 130 #16

Closed frroossst closed 1 year ago

frroossst commented 1 year ago

A quick fix for issue https://github.com/sudofox/shell-mommy/issues/15

I cancelled a git push and got a message from shell-mommy, decided to open up an issue, already saw an existing issue and decided to write up a quick fix instead.

sudofox commented 1 year ago

This is a good one. I did use Ctrl+C to test messages at one point but I can see how that could get annoying since it's technically not a failure.