From 4af61b5fda8e2e7241856742a0f945a03481a2a7 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 17 Mar 2019 15:52:18 +0100 Subject: [PATCH] make left and right more consistent --- powerlevel9k.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 58d03c65..a9cd726a 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -171,7 +171,7 @@ left_prompt_segment() { _p9k_escape_rcurly $POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS local space=$_P9K_RETVAL - if [[ $foreground == "%f" ]]; then + if [[ -z $foreground_color ]]; then _p9k_escape_rcurly $default_foreground$subsep$POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS local divider=$_P9K_RETVAL else