Although functions can be added in the Profile.ps1 file, Oh My Posh themes added there won't be used. I added a function to check if a theme has been added in Profile.ps1, and if there is, set it to be the theme used. Otherwise the default theme from before gets loaded as usual. Fixes https://github.com/ChrisTitusTech/powershell-profile/issues/52
My first pull request went a bit wrong (by my own doing) hence the reason for this second pull request!
Although functions can be added in the Profile.ps1 file, Oh My Posh themes added there won't be used. I added a function to check if a theme has been added in Profile.ps1, and if there is, set it to be the theme used. Otherwise the default theme from before gets loaded as usual. Fixes https://github.com/ChrisTitusTech/powershell-profile/issues/52
My first pull request went a bit wrong (by my own doing) hence the reason for this second pull request!