Interact with this post using Mastodon or
[Plugin] Autonotification in zsh
Published on
If you’re someone who frequently uses the terminal and often finds yourself forgetting whether a command has finished running or not, then the zsh-auto-notify plugin from Michael Aquilina is here to make your life easier.
╭── Could you be the audience for this plugin?
Zsh-auto-notify is a small but incredibly powerful plugin for zsh that notifies you when a command has finished running. No longer do you have to keep checking back to see if your code has finished building or your script has finished executing. Zsh-auto-notify will let you know as soon as it’s done.
But what really sets zsh-auto-notify apart is how customizable it is. You can choose from a variety of different notification sounds, adjust the volume, and even set it up to only notify you when a command takes longer than a certain amount of time. You can also exclude any command from being monitored and if you’re worried about getting bombarded with notifications, don’t be - zsh-auto-notify intelligently groups commands together so you won’t get spammed.
As a regular terminal user, zsh-auto-notify helps me free my mind. I can launch a command, go back to my other tasks or stepped away from my computer and simply forget about it. No need to worry anymore about constantly checking on my terminal sessions.
╭── Make it concrete with some use cases
One great use case for zsh-auto-notify is during large file transfers. Instead of staring at a progress bar, waiting for it to complete, you can simply start the transfer and let the plugin alerts you when it’s done. This frees up your time to focus on more important tasks.
Another excellent use case is running tests on a codebase. With zsh-auto-notify, you can start your test suite and move onto other tasks while you wait for the results. Once the tests are complete, you’ll receive a notification letting you know whether they passed or failed.
Long life to multi tasking ! :)
Thanks for your read. Hope it's been useful to you.
✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈
More food for thoughts? Check other posts about: #Zsh #Zsh-Plugins