1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

A bit more documentation.

This commit is contained in:
Dominik Ritter 2015-05-22 21:58:46 +02:00
parent e7e86d9a72
commit cb8549aed9

View file

@ -126,7 +126,8 @@ fi
# Takes two arguments, background and foreground. Both can be omitted, # Takes two arguments, background and foreground. Both can be omitted,
# rendering default background/foreground. # rendering default background/foreground.
left_prompt_segment() { left_prompt_segment() {
# Unfortunately that doesn't work.. # Unfortunately that doesn't work. But it should. The Example in
# http://zsh.sourceforge.net/FAQ/zshfaq03.html#l39 is quite similar.
# local BG_COLOR_MODIFIER=${(P)POWERLEVEL9K_${(U)1#prompt_}_BACKGROUND} # local BG_COLOR_MODIFIER=${(P)POWERLEVEL9K_${(U)1#prompt_}_BACKGROUND}
# Overwrite given background-color by user defined variable for this segment. # Overwrite given background-color by user defined variable for this segment.