File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ ### Version 2.1.0-beta1
2+
3+ Pre-release notes:
4+
5+ #### Prototype to support the fish-like auto-suggestion in PSReadLine
6+
7+ Currently:
8+
9+ - The only suggestion source is the PSReadLine history file.
10+ The ultimate goal is to call into a prediction API in PowerShell engine that is powered by a prediction plugin.
11+ - By default, the suggestion text is rendered with the `dark black` color `\x1b[38;5;238m`, which works OK with a black background.
12+ You can change it by running `Set-PSReadLineOption -Colors @{ Prediction = '<your-choice-of-color>' }`.
13+ - VI mode - now the suggestion is disabled when switching to the command mode, and enabled when switching to insert mode.
14+ - Very limited efforts have been spent on the VI/Emacs experience, so it could be pretty raw for them, and feedback is very welcome.
15+
16+ When using this PSReadLine, please add the following key binding to your profile:
17+
18+ Set-PSReadLineKeyHandler -Key "Ctrl+f" -Function ForwardWord
19+
20+ - Pressing `RightArrow` at the end of current typing will accept the suggestion text
21+ - Pressing `Ctrl+f` at the end of current typing will accept a word from the suggestion text
22+ - Pressing `Ctrl+z` will get you back to where you were before accepting all or part of the suggestion
23+
124### Version 2.0.1
225
326Bug fixes:
You can’t perform that action at this time.
0 commit comments