Operating system name and version: Windows 10 22H2
Issue Description
I am experiencing a problem with Get-AliasPattern function, that is running part of it in about 500 times when profile script is running.
The problematic code is the pattern get-alias | where . This could be replaced with get-alias -Definition "$cmd", "$cmd.exe" and it becomes ~5..8 times faster.
System Details
Issue Description
I am experiencing a problem with Get-AliasPattern function, that is running part of it in about 500 times when profile script is running. The problematic code is the pattern
get-alias | where
. This could be replaced withget-alias -Definition "$cmd", "$cmd.exe"
and it becomes ~5..8 times faster.The similar pattern is in GitTabExpansion.ps1.