aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-02-19 05:59:39 +0300
committerBen Hilburn <bhilburn@gmail.com>2017-02-19 05:59:39 +0300
commitc2cbb320172bd05d1e1a15714e0773f72252cd9c (patch)
tree1a5f6441893c9d77d75955caf89cf0457c7e67f8 /README.md
parent4c91c5e02ee00cab7e82fdf6c7b86b9c70c8dad6 (diff)
README: cleaning up new `command_execution_time` segment docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3c9dff3f..c883dbfc 100644
--- a/README.md
+++ b/README.md
@@ -203,11 +203,16 @@ without affecting the icon color.
##### command_execution_time
-Display the time the current command took to execute if the time is above
-`POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD` (defaults to 3 seconds).
-The time is shown human readable, if it exceeds one minute. If you want more
-precision, just set `POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=2` (or
-whatever precision you want).
+Display the time the previous command took to execute if the time is above
+`POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD`. The time is formatted to be
+"human readable", and so scales the units based on the length of execution time.
+If you want more precision, just set the
+`POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION` field.
+
+| Variable | Default Value | Description |
+|----------|---------------|-------------|
+|`POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD`|3|Threshold above which to print this segment. Can be set to `0` to always print.|
+|`POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=2`|2|Number of digits to use in the fractional part of the time value.|
##### custom_command