Execute Oh My Posh script in current context
This commit is contained in:
parent
d4e2b633d5
commit
30d84482ff
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Write-Host "Configuring Oh My Posh!";
|
|||
|
||||
$createInvokation = {
|
||||
param($initializer)
|
||||
return "& ([scriptblock]::Create(($initializer) -join `"``n`"))";
|
||||
return ". ([scriptblock]::Create(($initializer) -join `"``n`"))";
|
||||
}
|
||||
|
||||
$context.AddPowerShellProfileStatement(
|
||||
|
|
Loading…
Reference in a new issue