Install Powershell profile statements globally

This commit is contained in:
Manuel Thalmann 2024-03-23 04:55:05 +01:00
parent c3ce9c0ba9
commit a0e9c03525
3 changed files with 3 additions and 2 deletions
scripts/Windows/Config/posh-git

View file

@ -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";'