aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-08-07 20:14:17 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-08-07 20:14:56 +0300
commitd1832de888f4ff7008d8262561d5c7e15ebbf29a (patch)
tree8dd8004776ae4aa03ab6874a871dc316143aa66a /README.md
parent329f60f19f3198cc799b8a1eded895794cbbe3a2 (diff)
Added documentation.
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 49c08127..c43232fb 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,7 @@ this theme focus on four primary goals:
- [Double-Lined Prompt](#double-lined-prompt)
- [Disable Right Prompt](#disable-right-prompt)
- [Light Color Theme](#light-color-theme)
+ - [Icon Customization](#icon-customization)
- [Segment Color Customization](#segment-color-customization)
- [Special Segment Colors](#special-segment-colors)
- [Troubleshooting](#troubleshooting)
@@ -382,6 +383,24 @@ Light'](https://github.com/altercation/solarized) users. Check it out:
![](http://bhilburn.org/content/images/2015/03/solarized-light.png)
+#### Icon Customization
+
+Each icon used can be customized too by specifying a variable named like
+the icon and prefixed with 'POWERLEVEL9K'. If you want to use another icon
+as segment separators, you can easily do that:
+
+ POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=$'\uE0B1'
+ POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=$'\uE0B3'
+
+You could get a list of all icons defined in random colors, by adding the
+special segment `icons_test` to your prompt:
+
+ POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(icons_test)
+
+This special prompt does not work on the right side, as it would be too long,
+and ZSH hides it automatically. Also have in mind, that the output depends on
+your `POWERLEVEL9K_MODE` settings.
+
#### Segment Color Customization
For each segment in your prompt, you can specify a foreground and background