summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-08-10 00:22:33 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-08-10 00:22:33 +0300
commit6daef84c603e3f00058a90c511efc37c1e4bd5cc (patch)
tree002b3e9e65b38bfeeeeef09b42633331877ba0f1
parenta0d57bc455e654ba688d108219bd254863bca438 (diff)
parent52ce9930bbb2971c7d3a20330928d3206f03c5ae (diff)
Merge branch 'fix_colors' into prepare_066
-rwxr-xr-xpowerlevel9k.zsh-theme2
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})"