Zsh plugin for displays command duration when exceeds threshold.
If you use zplug, add the following to your .zshrc:
zplug "rtakasuke/zsh-duration"
git clone https://github.com/rtakasuke/zsh-duration.git
source ./zsh-duration/duration.plugin.zsh
You can change the display threshold with environment variables. (Default: 10 seconds)
export ZSH_DURATION_THRESHOLD=10
