winget install JanDeDobbeleer.OhMyPosh -s winget
I use Fira Code Nerd Font but you can use any other Nerd Font.
touch ~/.bashrc
eval "$(oh-my-posh init bash --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/craver.omp.json)"
You can change the theme by changing the craver.omp.json
to any other theme you like. You can find the themes here
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
exec bash