Stop printing a blank line before every prompt

This commit is contained in:
Greg Fitzgerald
2015-09-23 17:46:54 -04:00
parent 52b43504db
commit 3283a92bf9

View File

@@ -456,8 +456,7 @@ build_prompt() {
} }
if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]] then if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]] then
PROMPT=' PROMPT='%{%f%b%k%}$(build_prompt)
%{%f%b%k%}$(build_prompt)
%{${fg_bold[default]}%}$(prompt_char) %{$reset_color%}' %{${fg_bold[default]}%}$(prompt_char) %{$reset_color%}'
else else
PROMPT='%{%f%b%k%}$(build_prompt)%{${fg_bold[default]}%} $(prompt_char) %{$reset_color%}' PROMPT='%{%f%b%k%}$(build_prompt)%{${fg_bold[default]}%} $(prompt_char) %{$reset_color%}'