mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
741 B
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