oh-my-posh/docs/docs/package-powershell.md
Jan De Dobbeleer f85057bbf6 feat: add docs
2020-10-05 17:19:05 +02:00

741 B

id title sidebar_label
powershell PowerShell PowerShell

A package that includes useful helper functions to install and configure Oh my Posh.

Installation

Install-Module oh-my-posh -Scope CurrentUser -AllowPrerelease

Usage

Show all themes

To display every available theme in the current directory, use the following command.

Get-PoshThemes

Set the prompt

Autocompletion is available so it will loop through all available themes.

Set-PoshPrompt -Theme ~/downloadedtheme.json

Print the theme

Useful when you find a theme you like, but you want to tweak the settings a bit. The output is a formatted json string.

Write-PoshTheme