Added option POWERLEVEL9K_PROMPT_ON_NEWLINE, which shows the prompt on a new line.

pull/22/head
Dominik Ritter 10 years ago
parent a1a26b1c10
commit f2b6c8d62c

@ -304,5 +304,10 @@ precmd() {
vcs_info_hookadd set-message vcs-detect-changes vcs_info_hookadd set-message vcs-detect-changes
} }
PROMPT='%{%f%b%k%}$(build_left_prompt) ' if [ $POWERLEVEL9K_PROMPT_ON_NEWLINE ] ; then
PROMPT='╭─%{%f%b%k%}$(build_left_prompt)
╰─ '
else
PROMPT='%{%f%b%k%}$(build_left_prompt) '
fi
RPROMPT='%{%f%b%k%}$(build_right_prompt)%{$reset_color%}' RPROMPT='%{%f%b%k%}$(build_right_prompt)%{$reset_color%}'

Loading…
Cancel
Save