From ff7618cf744a289a9ba9c332be08ed5304d2f45f Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Wed, 15 Jul 2020 02:53:37 +1000 Subject: timer: threshold to show timers only for time-consuming commands (#8151) --- plugins/timer/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/timer/README.md') 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: -- cgit v1.2.3-70-g09d2