wsl-notify-zsh
September 27, 2022 ยท View on GitHub
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.
Installation
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.