Commit c52441b6 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

pygmalion: revert multiline prompt change

Fixes #2317
Closes #2321
parent 08cc808d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment