Make prompt end in '$' and newline for clarity

When nested deep in long directories or branches, the prompt is at the end of the terminal, so it's better on a newline by default and always in the same place.
This commit is contained in:
Jonathan Chen 2017-09-03 10:30:10 -07:00 committed by GitHub
commit 4c3e0ce86f

View file

@ -225,4 +225,4 @@ build_prompt() {
prompt_end
}
PROMPT='%{%f%b%k%}$(build_prompt) '
PROMPT='%{%f%b%k%}$(build_prompt) '$'\n$ '