Browse Source

Fixed minor cross-platfrom bug in Reload-MyScripts

master
Gal Szkolnik 1 year ago
parent
commit
f4abdf1a2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Reload-MyScripts.ps1

+ 1
- 1
Reload-MyScripts.ps1 View File

@@ -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
}
}



Loading…
Cancel
Save