From 7478f071003488a693fe3a0f5c2867607a514251 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 17 Jul 2019 23:24:18 +0200 Subject: [PATCH] ensure there is at least one space between left and right prompts --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index a901b054..9485b7ea 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3050,7 +3050,7 @@ _p9k_init_prompt() { _P9K_GAP_PRE+='${_P9K_M::=$((_P9K_CLM-_P9K_X-_P9K_IND-1))}' _P9K_GAP_PRE+='}+}' - typeset -g _P9K_GAP_POST=$'${${${$((_P9K_M+=1)):#-*}:+${(pl.$_P9K_M.. .)}$_P9K_RPROMPT$_P9K_T[$((1+!_P9K_IND))]}:-\n}' + typeset -g _P9K_GAP_POST=$'${${${_P9K_M:#-*}:+${(pl.$((_P9K_M+1)).. .)}$_P9K_RPROMPT$_P9K_T[$((1+!_P9K_IND))]}:-\n}' typeset -g _P9K_PROMPT_PREFIX_LEFT='${${_P9K_CLM::=$COLUMNS}+}${${COLUMNS::=1024}+}' typeset -g _P9K_PROMPT_PREFIX_RIGHT='${${_P9K_CLM::=$COLUMNS}+}${${COLUMNS::=1024}+}'