This is the best solution i got
https://github.com/romkatv/powerlevel10k/issues/936#issuecomment-670839712