fix(linuxonly): prompt to bottom

This commit is contained in:
AlexZ005 2024-06-13 08:52:54 +03:00
commit f0590e6597

View file

@ -34,6 +34,7 @@ add-zsh-hook precmd prompt_jnrowe_precmd
prompt_jnrowe_precmd () { prompt_jnrowe_precmd () {
vcs_info vcs_info
}
if [ "${vcs_info_msg_0_}" = "" ]; then if [ "${vcs_info_msg_0_}" = "" ]; then
dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$c4%}%/ %{$c0%}(%{$c5%}%?%{$c0%})" dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$c4%}%/ %{$c0%}(%{$c5%}%?%{$c0%})"
@ -55,4 +56,3 @@ ${dir_status}%{$reset_color%}
${dir_status} ${vcs_info_msg_0_}%{$reset_color%} ${dir_status} ${vcs_info_msg_0_}%{$reset_color%}
> ' > '
fi fi
}