oh-my-posh/packages/powershell/oh-my-posh
lnu 410fb82e13 feat(pwsh): render hyperlink for theme name
render hyperlink for theme name and themes location in Get-PoshThemes
bold attribute removed since it's not really working in windows
terminal(https://github.com/microsoft/terminal/issues/109)
2021-10-18 20:59:37 +02:00
..
deploy.ps1 fix(linux): add armv7l build 2021-09-14 22:34:55 +02:00
oh-my-posh.psd1 feat: multiple config formats 2021-03-21 19:30:56 +01:00
oh-my-posh.psm1 feat(pwsh): render hyperlink for theme name 2021-10-18 20:59:37 +02:00
README.md refactor: hello world oh-my-posh3 2020-10-05 17:19:05 +02:00

PowerShell package

The goal of this module is to wrap the oh-my-posh binaries into a PowerShell module and allow easy installation and ease of use when setting the prompt.

Testing

Create local package repository to validate changes locally

Create the repository

Register-PSRepository -Name 'LocalRepo' -SourceLocation 'C:\Repo' -PublishLocation 'C:\Repo' -InstallationPolicy Trusted

Make changes and publish to your local repository

For ease testing, up the version number when using the build script, that way you are always able to update the module.

deploy.ps1 -BinVersion 0.1.0 -ModuleVersion 0.0.2 -Repository LocalRepo

Validate changes

Install/Update the module from your local repository and validate the changes.

Install-Module oh-my-posh -Repository LocalRepo -Force