mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2026-11-21 16:03:07 +01:00
Eliminating double space if prompt on one line
This commit is contained in:
1 parent
d4a8e06419
commit
ce5d5fb78e
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user