zsh: remove extra newline before prompt

This commit is contained in:
Fernando Schauenburg 2023-10-03 18:56:49 +02:00
parent f8c2672253
commit 27d284ddd2

View file

@ -17,7 +17,6 @@ render_prompt() {
PROMPT_SECTIONS=() PROMPT_SECTIONS=()
for s in exit_code user_host pwd git venv jobs exec_time; { render_$s } for s in exit_code user_host pwd git venv jobs exec_time; { render_$s }
echo
echo ${(pj.$separator.)PROMPT_SECTIONS} echo ${(pj.$separator.)PROMPT_SECTIONS}
echo -n "%{%F{$gray}%}" echo -n "%{%F{$gray}%}"
printf '%.0s' {1..$SHLVL} printf '%.0s' {1..$SHLVL}