From c52441b624c0b1fa075bc6110032bd4e75311909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Sun, 10 May 2020 20:06:24 +0200 Subject: [PATCH] pygmalion: revert multiline prompt change Fixes #2317 Closes #2321 --- themes/pygmalion.zsh-theme | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme index cd773e4a4..bd58db5f6 100644 --- a/themes/pygmalion.zsh-theme +++ b/themes/pygmalion.zsh-theme @@ -22,12 +22,7 @@ prompt_pygmalion_precmd(){ local exp_nocolor="$(print -P \"$base_prompt_nocolor$gitinfo_nocolor$post_prompt_nocolor\")" local prompt_length=${#exp_nocolor} - local nl="" - - if [[ $prompt_length -gt 40 ]]; then - nl=$'\n%{\r%}'; - fi - PROMPT="$base_prompt$gitinfo$nl$post_prompt" + PROMPT="${base_prompt}${gitinfo}${post_prompt}" } prompt_setup_pygmalion