This commit is contained in:
Manuel Thalmann 2023-07-27 05:57:31 +02:00
parent 192c47049d
commit 65a44675b2

View file

@ -11,5 +11,5 @@ $context.AddPowerShellProfileStatement(
'# Profile Files',
'$profilePath = "$PSScriptRoot/profile.d/*.ps1";',
'if (Test-Path $profilePath) {',
' Get-Item $profilePath | Foreach-Item { . $_; };',
' Get-Item $profilePath | ForEach-Object { . $_; };',
'}') -join ([System.Environment]::NewLine));