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-zsh
Then 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-zsh
Using antigen
Add the following to your .zshrc
:
antigen bundle masonc15/wsl-notify-zsh
Using zplug
Add the following to your .zshrc
:
zplugin light masonc15/wsl-notify-zsh
Using zinit
Add the following to your .zshrc
:
zinit light masonc15/wsl-notify-zsh
Using zdharma/zinit
Add the following to your .zshrc
:
zinit light masonc15/wsl-notify-zsh
Using zimfw
Add the following to your .zshrc
:
zimfw install masonc15/wsl-notify-zsh
Credit to zsh-notify for most of the hard work.