The prompt is displayed in two lines
This commit is contained in:
parent
27f6403382
commit
a7d727b800
@ -88,6 +88,7 @@ function build_prompt {
|
||||
can_fast_forward=true
|
||||
will_merge=true
|
||||
will_rebase=true
|
||||
two_lines=true
|
||||
|
||||
enrich ${on_a_tag} "⌫"
|
||||
enrich ${detached} "⚯" "${alert}"
|
||||
@ -118,7 +119,9 @@ function build_prompt {
|
||||
fi
|
||||
|
||||
fi
|
||||
PS1="${PS1}${reset}∙ "
|
||||
if [[ ${two_lines} ]]; then break="\n\r"; fi
|
||||
PS1="${PS1}${reset}${break}∙ \w"
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user