summaryrefslogtreecommitdiff
path: root/plugins/timer/README.md
diff options
context:
space:
mode:
authorFrederick Zhang <frederick888@tsundere.moe>2020-07-15 02:53:37 +1000
committerGitHub <noreply@github.com>2020-07-14 18:53:37 +0200
commitff7618cf744a289a9ba9c332be08ed5304d2f45f (patch)
tree53516343d538cf5d7a4f7f404db7fde133a70fe1 /plugins/timer/README.md
parent68b98c9d53a4dd0c53d25a9595305e2318af0e2b (diff)
downloadzsh-ff7618cf744a289a9ba9c332be08ed5304d2f45f.tar.gz
zsh-ff7618cf744a289a9ba9c332be08ed5304d2f45f.tar.bz2
zsh-ff7618cf744a289a9ba9c332be08ed5304d2f45f.zip
timer: threshold to show timers only for time-consuming commands (#8151)
Diffstat (limited to 'plugins/timer/README.md')
-rw-r--r--plugins/timer/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/timer/README.md b/plugins/timer/README.md
index 321307e59..30b0bd00e 100644
--- a/plugins/timer/README.md
+++ b/plugins/timer/README.md
@@ -3,6 +3,7 @@ This plugin allows to display command's execution time in a very nonintrusive wa
Timer can be tuned by these two variables:
* `TIMER_PRECISION` allows to control number of decimal places (default `1`)
* `TIMER_FORMAT` allows to adjust display format (default `'/%d'`)
+* `TIMER_THRESHOLD` allows to set the minimum execution time that causes the timer to be shown (default `0`)
Sample session: