aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-08-09 00:36:40 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-08-09 00:36:40 +0300
commit27fe2c65712a092c8e652fe2c58ac310f69a8e36 (patch)
treee131f6aa8cda05fa11cf0b084be09bf8d9d3ecda /powerlevel9k.zsh-theme
parent6f5827009fa3a39cc04ab205da2da44965d9a00c (diff)
Make use of helper function in left_end_segment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a9b2d1ff..781813e7 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -189,7 +189,7 @@ left_prompt_segment() {
# End the left prompt, closes the final segment.
left_prompt_end() {
if [[ -n $CURRENT_BG ]]; then
- echo -n "%k%F{$CURRENT_BG}$(print_icon 'LEFT_SEGMENT_SEPARATOR')"
+ echo -n "%k$(foregroundColor ${CURRENT_BG})$(print_icon 'LEFT_SEGMENT_SEPARATOR')"
else
echo -n "%k"
fi