This commit is contained in:
Manuel Thalmann 2024-03-20 23:52:15 +01:00
parent b07f4ce23b
commit 06769aef0c

View file

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