PSCompletions and PSFzf
TIP
PSFzf is a PowerShell module that provides a more powerful completion menu.
Install PSFzf
powershell
Install-Module PSFzfUse PSFzf
For completions that are not added via
psc add, you need to disable the completion menu provided byPSCompletions.WARNING
- Completions added via
psc addare handled byPSFzfwhich may cause issues. - Therefore, you should not use
psc menu config enable_menu 0.
powershellpsc menu config enable_menu_enhance 0- Completions added via
Use the completion menu provided by
PSFzf.powershellSet-PSReadLineKeyHandler -Key Tab -ScriptBlock { Invoke-FzfTabCompletion }For more details, please refer to PSFzf.