Fix non-functioning profile script
This commit is contained in:
parent
a81727f696
commit
8cf7791723
1 changed files with 5 additions and 3 deletions
|
@ -75,9 +75,11 @@ $null = New-Module {
|
|||
|
||||
Push-Location ~;
|
||||
|
||||
$profiles = $profiles |
|
||||
ForEach-Object { [System.IO.Path]::GetRelativePath((Get-Location), $_) } |
|
||||
ForEach-Object { "$HomeDir/$_" };
|
||||
$profiles = @(
|
||||
$profiles |
|
||||
ForEach-Object { [System.IO.Path]::GetRelativePath((Get-Location), $_) } |
|
||||
ForEach-Object { "$HomeDir/$_" }
|
||||
);
|
||||
|
||||
Pop-Location;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue