Adding Predictive IntelliSense to my Windows Terminal PowerShell Prompt with PSReadline

1 · Scott Hanselman · July 1, 2021, 7:45 p.m.
I've long said You should be customizing your PowerShell Prompt with PSReadLine. Go to your PowerShell prompt, and Install-Module PSReadLine -AllowPrerelease -Force Then, after running code $profile or nodepad $profile, addImport-Module PSReadLine Sure, but next, add these:Set-PSReadLineOption -PredictionSource HistorySet-PSReadLineOption -PredictionViewStyle ListViewSet-PSReadLineOption -EditMode Windows This means that PSReadLine (and hence, your prompt in general) will use your prompt history...