/zsh-duration

Zsh plugin for displays command duration when exceeds threshold.

Primary LanguageShellMIT LicenseMIT

Lint

zsh-duration

Zsh plugin for displays command duration when exceeds threshold.

capt

Installation

Using zplug

If you use zplug, add the following to your .zshrc:

zplug "rtakasuke/zsh-duration"

Manual installation

git clone https://github.com/rtakasuke/zsh-duration.git
source ./zsh-duration/duration.plugin.zsh

Configuration

You can change the display threshold with environment variables. (Default: 10 seconds)

export ZSH_DURATION_THRESHOLD=10