from the oh-my-posh project by JanDeDobbeleer.
Inside your notepad Profile:
notepad $PROFILE
Then put this:
if (Test-Path alias:\r) { Remove-Item alias:\r }
oh-my-posh init pwsh --config ~/tokyomodded.omp.json | Invoke-Expression
In your ~/.bashrc file:
[[ $(alias r 2>/dev/null) ]] && unalias r
eval "$(oh-my-posh init bash --config ~/tokyomodded.omp.json)"