aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-05-04 09:32:18 +0300
committerChristian Höltje <docwhat@gerf.org>2017-05-13 05:14:01 +0300
commit1619c74ad8aff47383989efadc1e4553a83cf4de (patch)
treef929548bc20d3a17c23f7a10dbd80cf590763bfd /README.md
parent0b2483cf6d3f778413c16b6985ff6c02dcdd1f34 (diff)
newline: add new segment
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index caeeccbb..b52edeb7 100644
--- a/README.md
+++ b/README.md
@@ -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,13 @@ 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` and
+`POWERLEVEL9K_RPROMPT_ON_NEWLINE`.
+
##### rbenv
This segment shows the version of Ruby being used when using `rbenv` to change your current Ruby stack.