
🔖 https://blog.lksz.me/editing-with-ease/ ✏️ Fixed $MyPSScriptRoot typo ✨ Get-ScopeDepth 🐛 Get-MyAliases didn't work correctly when sub-scoped, fixed the issue 🚚 Reload-MyAliases is now Reload-MyScripts 🐛 Reload-MyScripts loads scripts from $MyPSScriptRoot/profile.d subdir 📝 README updated to reflect change of script name and typo
8 рядки
228 Б
PowerShell
8 рядки
228 Б
PowerShell
[CmdletBinding()]param(
|
|
[string]$Filter,
|
|
[switch]$NamesOnly
|
|
)
|
|
$local:rVal = [MyScript]::_GetValidValues($Filter,$true)
|
|
if( $NamesOnly ) { return $rVal }
|
|
return $rVal | ForEach-Object { Join-Path $MyPSScriptRoot "$_`.ps1" }
|
|
|