My Personal Theme Doesn't Want To Work On Powershell & Ubuntu Bash on WSL2 #2092
-
Hi, Everyone! I recently added oh-my-posh on Ubuntu on my WSL2 and I manually downloaded it and didn't use homebrew for installation. I followed every instruction to the point that it was working perfectly. I used my own personal customized theme which I was using on my Powershell and shared it with WSL Ubuntu using the flag "--config" as stated in the docs. Now after I reloaded my Windows Terminal on my Windows side my original theme got overwritten by the default theme, I assume looking at the json file and my original theme got a new file extension called bak and now my Powershell theme doesn't render properly and also my bash theme doesn't automatically render until I type "exec bash" everytime. So, should I paste the "exec bash" command on my ".bashrc" file for it to automatically render each time & for the windows side should I delete my overwritten file of ".ohmyposh.json" or the new ".ohmyposh.json.bak" file but that file has my json theme exactly and if I delete that one then my Ubuntu prompt won't work because it's not pointing to any theme called ".ohmyposh.json" anymore. I got a huge dilemma and as for my Powershell prompt my "$PROFILE" still has my default theme set "Set-PoshPrompt -Theme ~/.ohmyposh.json" so could you please remedy this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@blkniga make sure everything is on the same version, have a look here to migrate to the latest version. |
Beta Was this translation helpful? Give feedback.
@blkniga make sure everything is on the same version, have a look here to migrate to the latest version.