A tiny, zero dependency, simple notifier for spawning a Mac notification when a command completes. This product is only compatible with Mac currently.
lmk <command> [args...]
# Ex. notify me after 3 seconds
lmk sleep 3git clone git@github.com:mkalvas/lmk.git
cd lmk && cargo install --path .You will then need to allow notifications from Script Editor on your system to see the notifications since that's the app bundle that oascript publishes notifications through.
In order to fix shell completions for the commands that come after the lmk (e.g., getting lmk git che<TAB> to complete as expected). Add the following compdef somewhere in your .zshrc after compinit is run to tell zsh that lmk is a pre-command.
compdef _precommand lmkGetting autocomplete back in bash and other shells is an exercise left to the reader, but should be possible. I chose zsh as the supported shell because it's the default Mac shell and lmk is Mac only.