Add space only if non-empty BULLETTRAIN_PROMPT_CHAR (#256)

This commit is contained in:
Ricardo Pérez
2017-12-20 23:51:06 +01:00
committed by Caio Gondim
parent e564ca0888
commit f93a0710a4

View File

@@ -600,7 +600,11 @@ prompt_chars() {
bt_prompt_chars="${bt_prompt_chars}"
fi
echo -n "$bt_prompt_chars "
echo -n "$bt_prompt_chars"
if [[ -n $BULLETTRAIN_PROMPT_CHAR ]]; then
echo -n " "
fi
}
# Prompt Line Separator