diff --git a/scripts/Common/Config/Oh My Posh/install.ps1 b/scripts/Common/Config/Oh My Posh/install.ps1 index d753061f..9a35aeda 100644 --- a/scripts/Common/Config/Oh My Posh/install.ps1 +++ b/scripts/Common/Config/Oh My Posh/install.ps1 @@ -2,6 +2,7 @@ . "$PSScriptRoot/../powershell/lib.ps1"; Add-PowerShellProfileStatement ` + -System ` -Category "oh-my-posh" ` -Statement $( @( diff --git a/scripts/Windows/Config/Terminal-Icons/Install.ps1 b/scripts/Windows/Config/Terminal-Icons/Install.ps1 index a717b2b4..5834a923 100644 --- a/scripts/Windows/Config/Terminal-Icons/Install.ps1 +++ b/scripts/Windows/Config/Terminal-Icons/Install.ps1 @@ -1,3 +1,3 @@ #!/bin/pwsh . "$PSScriptRoot/../../../Common/Config/powershell/lib.ps1"; -Add-PowerShellProfileStatement -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";'; +Add-PowerShellProfileStatement -System -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";'; diff --git a/scripts/Windows/Config/posh-git/Install.ps1 b/scripts/Windows/Config/posh-git/Install.ps1 index d383b61c..f67b93de 100644 --- a/scripts/Windows/Config/posh-git/Install.ps1 +++ b/scripts/Windows/Config/posh-git/Install.ps1 @@ -1,4 +1,4 @@ #!/bin/pwsh . "$PSScriptRoot/../../../Common/Config/powershell/lib.ps1"; Write-Host "Configuring posh-git"; -Add-PowerShellProfileStatement -Category "posh-git" -Statement 'Import-Module "posh-git";' +Add-PowerShellProfileStatement -System -Category "posh-git" -Statement 'Import-Module "posh-git";'