The prompt is displayed in two lines

This commit is contained in:
Arialdo Martini 2013-09-03 07:54:15 +02:00
parent 27f6403382
commit a7d727b800

View File

@ -88,6 +88,7 @@ function build_prompt {
can_fast_forward=true can_fast_forward=true
will_merge=true will_merge=true
will_rebase=true will_rebase=true
two_lines=true
enrich ${on_a_tag} "⌫" enrich ${on_a_tag} "⌫"
enrich ${detached} "⚯" "${alert}" enrich ${detached} "⚯" "${alert}"
@ -118,7 +119,9 @@ function build_prompt {
fi fi
fi fi
PS1="${PS1}${reset}" if [[ ${two_lines} ]]; then break="\n\r"; fi
PS1="${PS1}${reset}${break}∙ \w"
} }