diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-08-10 00:22:33 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-08-10 00:22:33 +0300 |
commit | 6daef84c603e3f00058a90c511efc37c1e4bd5cc (patch) | |
tree | 002b3e9e65b38bfeeeeef09b42633331877ba0f1 /powerlevel9k.zsh-theme | |
parent | a0d57bc455e654ba688d108219bd254863bca438 (diff) | |
parent | 52ce9930bbb2971c7d3a20330928d3206f03c5ae (diff) |
Merge branch 'fix_colors' into prepare_066
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 660148f9..d0d5e355 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -231,7 +231,7 @@ right_prompt_segment() { # Overwrite given foreground-color by user defined variable for this segment. local FOREGROUND_USER_VARIABLE=POWERLEVEL9K_${(U)${segment_name}#prompt_}_FOREGROUND local FG_COLOR_MODIFIER=${(P)FOREGROUND_USER_VARIABLE} - [[ -n $FG_COLOR_MODIFIER ]] && 4="$FG_COLOR_MODIFIER" + [[ -n $FG_COLOR_MODIFIER ]] && foregroundColor="$FG_COLOR_MODIFIER" # Get color codes here to save some calls later on backgroundColor="$(getColorCode ${backgroundColor})" |