Skip to content

mkalvas/lmk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lmk - Let me know

A tiny, zero dependency, simple notifier for spawning a Mac notification when a command completes. This product is only compatible with Mac currently.

Usage

lmk <command> [args...]

# Ex. notify me after 3 seconds
lmk sleep 3

Installation

git 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.

Shell Completions

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 lmk

Getting 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.

About

Lets you know when the command you ran finished

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages