diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-03-30 04:45:49 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-03-30 04:45:49 +0300 |
commit | c5613777e961692d5386e0e7c0f330800672a50f (patch) | |
tree | 90892f1761198470280512ff69eb4118137c90ae /powerlevel9k.zsh-theme | |
parent | bf39769d232511ee7834347abf7ca284d415592e (diff) | |
parent | 2cb39ad09755673430b71a889dad6f8df05b905f (diff) |
Merge dritter's double-lined prompt feature.
Resolved Conflicts:
README.md
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 7 |
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%}' |