mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-09 00:40:41 +01:00
timer: threshold to show timers only for time-consuming commands (#8151)
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user