Merge pull request #121 from jtyr/jtyr-double_space

Eliminate double space if prompt on one line
This commit is contained in:
Caio Gondim committed 2016-03-19 15:52:12 +01:00
commit 0c70c99e22
1 file changed
+2 -2
+2 -2
View File
@@ -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