Add Oh My Posh completion
This commit is contained in:
parent
8b4082e6e1
commit
9be547d3a6
1 changed files with 6 additions and 1 deletions
|
@ -4,4 +4,9 @@ param($context)
|
|||
|
||||
[Context] $context = $context;
|
||||
Write-Host "Configuring Oh My Posh!";
|
||||
$context.AddPowerShellProfileStatement("999_Oh My Posh", 'oh-my-posh init pwsh | Invoke-Expression;');
|
||||
|
||||
$context.AddPowerShellProfileStatement(
|
||||
"999_Oh My Posh",
|
||||
@(
|
||||
'oh-my-posh init pwsh | Invoke-Expression;',
|
||||
"oh-my-posh completion powershell | Invoke-Expression;") -join [System.Environment]::NewLine);
|
||||
|
|
Loading…
Reference in a new issue