Closed
Description
I tried to figure this out but couldn't find out. Is there a way to get autocompletion like in the fish shell?
Basically what I am looking for is automatically searching the history on every keystroke, then showing a grey suggestion behind the cursor that can be accepted with → (if the cursor is at the end of the line).
We can get close with Set-PSReadLineKeyHandler -Key ArrowRight -Function HistorySearchBackward
but it doesn't show the suggestion and it prevents moving the cursor to the right.