c52441b624c0b1fa075bc6110032bd4e75311909
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
pygmalion: revert multiline prompt change
Fixes #2317
Closes #2321
Diff
1diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme
2index cd773e4a4591e0fcc0668e449b11d58f9735069e..bd58db5f6d23651b03c8d1aa06e1ff933db8ed2c 100644
3--- a/themes/pygmalion.zsh-theme
4+++ b/themes/pygmalion.zsh-theme
5@@ -22,12 +22,7 @@ prompt_pygmalion_precmd(){
6 local exp_nocolor="$(print -P \"$base_prompt_nocolor$gitinfo_nocolor$post_prompt_nocolor\")"
7 local prompt_length=${#exp_nocolor}
8
9- local nl=""
10-
11- if [[ $prompt_length -gt 40 ]]; then
12- nl=$'\n%{\r%}';
13- fi
14- PROMPT="$base_prompt$gitinfo$nl$post_prompt"
15+ PROMPT="${base_prompt}${gitinfo}${post_prompt}"
16 }
17
18 prompt_setup_pygmalion