feat(pwsh): add fzf completion bindings

This commit is contained in:
Price Hiller 2022-09-16 12:26:01 -05:00
parent 4cb635f63d
commit cec69e915a

View File

@ -1 +1,3 @@
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
Install-Module -Name PSFzf -RequiredVersion 2.5.10
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
Set-PSReadLineKeyHandler -Key Tab -ScriptBlock { Invoke-FzfTabCompletion }