Merge pull request #80 from dritter/dritter/icon_customization_documentation

Added documentation and a little helper function for icon customization.
pull/22/head
Ben Hilburn 9 years ago
commit fd191a5894

@ -427,6 +427,9 @@ 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.
You can change any icon by setting a environment variable. To get a full list
of icons just type `get_icon_names` in your terminal.
#### Segment Color Customization
For each segment in your prompt, you can specify a foreground and background

@ -105,6 +105,12 @@ function getRelevantItem() {
done
}
get_icon_names() {
for key in "${(@k)icons}"; do
echo "POWERLEVEL9K_$key: ${icons[$key]}"
done
}
################################################################
# Icons
################################################################

Loading…
Cancel
Save