diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-14 01:41:51 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-14 01:41:51 +0300 |
commit | eb18bcaaaeaf1279ef6695fc11d533c3db6c01ec (patch) | |
tree | a69d7379ba12ce49f9445262d22c214d747084f4 /README.md | |
parent | 04e75a683d442e8662b09202978504a372c0b2a5 (diff) |
Add documentation for `command_execution_time` segment
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -139,6 +139,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. * [`todo`](http://todotxt.com/) - Shows the number of tasks in your todo.txt tasks file. * `detect_virt` - Virtualization detection with systemd @@ -199,6 +200,11 @@ Note that you can [modify the `_FOREGROUND` color](https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#segment-color-customization) 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). + ##### custom_command The `custom_...` segment allows you to turn the output of a custom command into |