v2.1.0-beta2 - 6/5/2020
You can get the v2.1.0-beta2
version of the PSReadLine
module from PowerShell Gallery.
This release includes the following bug fixes:
- Fix the environment data script and print buffer info in case of exception (#1482)
- Add the parameter
-PredictionSource
toSet-PSReadLineOption
, with the optionsNone
andHistory
(#1496) - Make the predictive suggestion feature disabled by default (
PredictionSource
set toNone
).
It can be enabled bySet-PSReadLineOption -PredictionSource History
(#1496) - Make the functions
AcceptSuggestion
andAcceptNextSuggestionWord
bindable (#1496) - Fix the
ArgumentOutOfRangeException
caused by trimming the command line before saving to history (#1496) - Refactor
SelfInsert
to avoid duplicate logic (#1510) - Relax the sensitive words we filter by changing
key
toapikey
to reduce false positives (#1517) - Make edit group more stable in VI mode (#1526)
- Make
ViForwardChar
able to accept suggestions (#1528) - Update build as we move help content to the
PowerShell-Docs
repository (#1537) - Reset all VT attributes for
PromptText
if it contains VT sequences (#1544) - Expose
ViBackwardChar
andViForwardChar
as bindable functions (#1547)