Bringing back the final prompt chars space

In the PR #162, the final space after the prompt chars was removed. This PR is bringing it back.
This commit is contained in:
Jiri Tyr
2017-02-16 16:42:24 +00:00
committed by GitHub
parent 4ba8485131
commit 575e06be24

View File

@@ -524,7 +524,7 @@ prompt_status() {
# Prompt Character # Prompt Character
prompt_chars() { prompt_chars() {
local bt_prompt_chars="${BULLETTRAIN_PROMPT_CHAR}" local bt_prompt_chars="${BULLETTRAIN_PROMPT_CHAR} "
if [[ $BULLETTRAIN_PROMPT_ROOT == true ]]; then if [[ $BULLETTRAIN_PROMPT_ROOT == true ]]; then
bt_prompt_chars="%(!.%F{red}# .%F{green}${bt_prompt_chars}%f)" bt_prompt_chars="%(!.%F{red}# .%F{green}${bt_prompt_chars}%f)"