aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme7
1 files changed, 6 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 7ebbe027..bffa7123 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -313,5 +313,10 @@ precmd() {
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%}'