Fix incorrect PowerShell profile path

This commit is contained in:
Manuel Thalmann 2024-03-20 22:45:02 +01:00
parent 59dbc46b88
commit 92bfb452aa

View file

@ -15,7 +15,7 @@ script:
$profileRoot = Split-Path -Parent $PROFILE;
$profilePaths = @(
"$profileRoot/profile.d/*.ps1",
"{{ if eq .OS "windows" }}C:/ProgramData{{ else }}/etc/powershell{{ end }}/profile.d"
"{{ if eq .OS "windows" }}C:/ProgramData{{ else }}/etc{{ end }}/powershell/profile.d"
);
foreach ($profilePath in $profilePaths) {