rtakasuke / zsh-duration

Zsh plugin for displays command duration when exceeds threshold.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Zsh plugin for displays command duration when exceeds threshold.

License:MIT License


Languages

Language:Shell 100.0%