mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Add documentation for command_execution_time
segment
This commit is contained in:
parent
04e75a683d
commit
eb18bcaaae
1 changed files with 6 additions and 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
|
||||
|
|
Loading…
Reference in a new issue