diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-19 22:14:21 +0300 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-19 22:14:21 +0300 |
commit | 96a830d2a1ee35c2f6daa71e4c221387b34b0189 (patch) | |
tree | 2d403413955624a938d599125121240930bea571 /README.md | |
parent | 857527083deec0f3477350056528f1196108e980 (diff) | |
parent | 5795442dbcdeb90cc1d5e8f445f019ce5621c12d (diff) |
Merge @dritter's icon customization work.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |