A ZSH plugin that sends desktop notifications when long-running terminal commands complete.
zsh-notify is a ZSH plugin that sends desktop notifications when long-running terminal commands finish executing. It monitors command execution time and alerts users when tasks complete, helping developers multitask more efficiently without constantly checking their terminal.
Developers and system administrators who use ZSH as their shell and frequently run long commands or scripts in the terminal.
It provides a lightweight, configurable way to stay informed about command completion across macOS and Linux, with extensive customization options and support for popular ZSH frameworks like Oh-My-Zsh and Antigen.
Desktop notifications for long-running commands in zsh.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both macOS with terminal-notifier and Linux with notify-send, xdotool, and wmctrl, as outlined in the prerequisites section, ensuring broad usability.
Allows extensive customization of notification titles, icons, sounds, and timeouts via zstyle, including dynamic placeholders like #{time_elapsed} for command run times.
Can be set to only notify when the terminal is not in focus, reducing distractions, and supports regex-based command blacklisting to exclude specific commands.
Optionally enables notifications over SSH connections, which is disabled by default but can be activated with zstyle settings for remote workflow integration.
Requires installing external tools like terminal-notifier on macOS or libnotify, xdotool, and wmctrl on Linux, adding complexity and potential compatibility issues across systems.
Uses zstyle for configuration, which may be unintuitive for users unfamiliar with ZSH's styling system, and the numerous options documented can overwhelm newcomers.
Has known issues, such as hanging with tmux on macOS Yosemite requiring reattach-to-user-namespace, indicating reliance on workarounds for certain environments.