diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-16 23:11:31 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-16 23:11:31 +0300 |
commit | 4c91c5e02ee00cab7e82fdf6c7b86b9c70c8dad6 (patch) | |
tree | 84e8c2339c1d5876894d63282c7afd4750ce403e /README.md | |
parent | 875dec5dae69966e009237a3aa174b255158f01f (diff) |
Add documentation for the `command_execution_time` segment
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -140,7 +140,7 @@ The segments that are currently available are: **Other:** * [`custom_command`](#custom_command) - Create a custom segment to display the output of an arbitrary command. -* [`command_execution_time`] - Display the time the current command took to execute. +* [`command_execution_time`](#command_execution_time) - Display the time the current command took to execute. * [`todo`](http://todotxt.com/) - Shows the number of tasks in your todo.txt tasks file. * `detect_virt` - Virtualization detection with systemd @@ -205,6 +205,9 @@ without affecting the icon color. 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). ##### custom_command |