This commit is contained in:
Hasan Mahmud 2017-05-10 07:59:26 +00:00 committed by GitHub
commit f9bcf72f9e

View file

@ -212,6 +212,12 @@ prompt_status() {
[[ -n "$symbols" ]] && prompt_segment black default "$symbols"
}
# Add a newline to the prompt for convenience
prompt_newline() {
echo "\n→"
}
## Main prompt
build_prompt() {
RETVAL=$?
@ -223,6 +229,7 @@ build_prompt() {
prompt_bzr
prompt_hg
prompt_end
prompt_newline
}
PROMPT='%{%f%b%k%}$(build_prompt) '