mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
fix(linuxonly): prompt to bottom
This commit is contained in:
parent
6c021fd432
commit
f0590e6597
1 changed files with 14 additions and 14 deletions
|
|
@ -34,6 +34,7 @@ add-zsh-hook precmd prompt_jnrowe_precmd
|
|||
|
||||
prompt_jnrowe_precmd () {
|
||||
vcs_info
|
||||
}
|
||||
|
||||
if [ "${vcs_info_msg_0_}" = "" ]; then
|
||||
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%}
|
||||
> '
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue