Fix incorrect PowerShell profile path
This commit is contained in:
parent
59dbc46b88
commit
92bfb452aa
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue