if you are using windows WSL then for some reason the
.bashrc is loaded before .profil and make a call to load .profile
so you can add the same code to .bashrc in your home folder and il should
work the same :
eval "$(oh-my-posh init bash --config /home/linuxbrew/.linuxbrew/opt/oh-my-posh/themes/paradox.omp.json