mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-18 22:12:32 +01:00
Merge branch 'pr/newline' of https://github.com/docwhat/powerlevel9k into docwhat-pr/newline
This commit is contained in:
commit
6486e62f14
3 changed files with 34 additions and 4 deletions
|
|
@ -143,6 +143,7 @@ The segments that are currently available are:
|
|||
* [`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
|
||||
* `newline` - Continues the prompt on a new line.
|
||||
|
||||
---------------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -442,6 +443,14 @@ segment will not be displayed.
|
|||
|`POWERLEVEL9K_PUBLIC_IP_METHODS`|(dig curl wget)| These methods in that order are used to refresh your IP.|
|
||||
|`POWERLEVEL9K_PUBLIC_IP_NONE`|None|The string displayed when an IP was not obtained|
|
||||
|
||||
##### newline
|
||||
|
||||
Puts a newline in your prompt so you can continue using segments on the next line.
|
||||
|
||||
This allows you to use segments on both lines, unlike `POWERLEVEL9K_PROMPT_ON_NEWLINE`.
|
||||
|
||||
This only works on the left side. On the right side it does nothing.
|
||||
|
||||
##### rbenv
|
||||
|
||||
This segment shows the version of Ruby being used when using `rbenv` to change your current Ruby stack.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue