Skip to content

Fish-like autocompletion #687

Closed
Closed
@felixfbecker

Description

@felixfbecker

I tried to figure this out but couldn't find out. Is there a way to get autocompletion like in the fish shell?

fish-shell-demo

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions