digitalcoyote / chocolatey-packages

Template repository for Chocolatey Automatic Package Updater Module
MIT License
8 stars 11 forks source link

Recommended addition to this setup #21

Closed NerdyGriffin closed 3 years ago

NerdyGriffin commented 3 years ago

https://github.com/digitalcoyote/chocolatey-packages/blob/149528b716e4cbe88ecf3c420163ef3031650ac2/oh-my-posh/tools/chocolateyinstall.ps1#L20

I believe, in addition to the existing checks, it should also check -or $line -like 'Set-PoshPrompt*' which is an alternative way to set the theme instead of using Invoke-Expression (oh-my-posh --init ..., I believe that would be one possible fix to the issue discussed here

digitalcoyote commented 3 years ago

Oh-my-posh update script needs to be checked(seems to be behind currently). And this needs to be handled at the same time as that.