diff --git a/scripts/Windows/Config/Oh My Posh/Install.ps1 b/scripts/Windows/Config/Oh My Posh/Install.ps1 index 85691672..d1b54655 100644 --- a/scripts/Windows/Config/Oh My Posh/Install.ps1 +++ b/scripts/Windows/Config/Oh My Posh/Install.ps1 @@ -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(