This. Also I think omz also informs about what to put there after the package is installed (I might be wrong about this, long time been)
Anyway, reading the projects instructions is very easy and straight forward
eval "$(starship init zsh)"
function set_win_title(){
echo -ne "\033]0; $USER@$HOST:${PWD/$HOME/~} \007"
}
precmd_functions+=(set_win_title)
Needs to be commented out (it obviously loads starship) and omz init needs to be added at the beginning