From f4abdf1a2d0c95f0295d50cf4e6262123d0a78c9 Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Sat, 3 Oct 2020 16:23:08 -0400 Subject: [PATCH] Fixed minor cross-platfrom bug in Reload-MyScripts --- Reload-MyScripts.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reload-MyScripts.ps1 b/Reload-MyScripts.ps1 index a2017bf..c421da8 100644 --- a/Reload-MyScripts.ps1 +++ b/Reload-MyScripts.ps1 @@ -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 } }