Add posh-git to Windows installations

This commit is contained in:
Manuel Thalmann 2023-07-27 02:22:09 +02:00
parent 2a7e0b643e
commit c851336400
4 changed files with 19 additions and 2 deletions
scripts/Windows/Config/PowerShell

View file

@ -8,6 +8,7 @@ Write-Information "Allow addition of any number of profile files";
$context.AddPowerShellProfileStatement(
@(
'# Profile Files',
'$profilePath = "$PSScriptRoot/profile.d/*.ps1";',
'if (Test-Path $profilePath) {',
' . $profilePath;',