Description
Long-running shell commands can trigger desktop notifications when they finish. undistract-me integrates bash-preexec, libnotify, and X11 window focus checks so terminal users notice completed jobs.
Source it only in shell profiles you control. Shell hooks can affect every interactive command, reveal command timing through notifications, and behave differently across terminal sessions.