wsl-notify-zsh is a zsh plugin that uses wsl-notify-send to notify you when a command takes longer than 15 seconds to run.
Using oh-my-zsh
Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/masonc15/wsl-notify-zsh.git $ZSH_CUSTOM/plugins/wsl-notify-zshThen add wsl-notify-zsh to your plugin list
plugins=(... wsl-notify-zsh)Using zplug
Add the following to your .zshrc:
zplug "masonc15/wsl-notify-zsh"Using zgen
Add the following to your .zshrc:
zgen load masonc15/wsl-notify-zshUsing antigen
Add the following to your .zshrc:
antigen bundle masonc15/wsl-notify-zshUsing zplug
Add the following to your .zshrc:
zplugin light masonc15/wsl-notify-zshUsing zinit
Add the following to your .zshrc:
zinit light masonc15/wsl-notify-zshUsing zdharma/zinit
Add the following to your .zshrc:
zinit light masonc15/wsl-notify-zshUsing zimfw
Add the following to your .zshrc:
zimfw install masonc15/wsl-notify-zshCredit to zsh-notify for most of the hard work.