Fixed minor cross-platfrom bug in Reload-MyScripts

This commit is contained in:
Gal Szkolnik 2020-10-03 16:23:08 -04:00
rodič 968b6c2bbb
revize f4abdf1a2d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -37,7 +37,7 @@ function getScriptName{param([string]$FullPath)
$local:myAliases = [ordered]@{}
if( Test-Path $(Join-Path $MyPSScriptRoot Aliases) ) {
Get-ChildItem $(Join-Path $MyPSScriptRoot Aliases) | ForEach-Object {
$myAliases[$_.BaseName] = Get-Content $_
$myAliases[$_.BaseName] = Get-Content $_.FullName
}
}