From ce5d5fb78e20f3fdcdd7a28b86410f5c6c8d346e Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Fri, 18 Mar 2016 17:59:57 +0000 Subject: [PATCH] Eliminating double space if prompt on one line --- bullet-train.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index f6531ef..a2bb57c 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -570,8 +570,8 @@ prompt_char() { bt_prompt_char="%(!.%F{red}#.%F{green}${bt_prompt_char}%f)" fi - if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == false ]]; then - bt_prompt_char=" ${bt_prompt_char}" + if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == false ]]; then + bt_prompt_char="${bt_prompt_char}" fi echo -n $bt_prompt_char