|
|
@ -139,6 +139,7 @@ The segments that are currently available are:
|
|
|
|
**Other:**
|
|
|
|
**Other:**
|
|
|
|
* [`custom_command`](#custom_command) - Create a custom segment to display the
|
|
|
|
* [`custom_command`](#custom_command) - Create a custom segment to display the
|
|
|
|
output of an arbitrary command.
|
|
|
|
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.
|
|
|
|
* [`todo`](http://todotxt.com/) - Shows the number of tasks in your todo.txt tasks file.
|
|
|
|
* `detect_virt` - Virtualization detection with systemd
|
|
|
|
* `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)
|
|
|
|
color](https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#segment-color-customization)
|
|
|
|
without affecting the icon color.
|
|
|
|
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
|
|
|
|
##### custom_command
|
|
|
|
|
|
|
|
|
|
|
|
The `custom_...` segment allows you to turn the output of a custom command into
|
|
|
|
The `custom_...` segment allows you to turn the output of a custom command into
|
|
|
|