I am used to using intelligent prompts zsh-autosuggestions in zsh, but the terminal in windows does not have intelligent prompts by default, which is very uncomfortable. So is there any alternative?
Install powershell-7.3
My windows 10 is installed with powershell-5.1.19 by default, so let's upgrade first.
Official installation documentation:
My actual download address is:
https://github.com/PowerShell/PowerShell/releases/download/v7.3.6/PowerShell-7.3.6-win-x64.msi
Download it, just click next all the way.
After the installation is successful, there will be one more item in the windows terminal.
I set it as default.
View version information:
$PSVersionTable
Turn on autocompletion
Just execute the following command.
Set-PSReadLineOption -PredictionSource History
It's much more convenient now.