aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2015-08-27 05:57:49 +0300
committerBen Hilburn <ben.hilburn@ettus.com>2015-08-27 05:57:49 +0300
commitfbac091e27f3ad69e022cf24932b9219674b030f (patch)
tree828a0286b93061fc1b0327e583dffdfe13650f0d /README.md
parent857527083deec0f3477350056528f1196108e980 (diff)
parent823c52b3eca833b99f45c5a9c815aee160c29691 (diff)
Merge branch 'dritter-icon-custom' into next
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 41e00402..5fab8b59 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)
@@ -383,6 +384,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