Microsoft powershell prompt

PowerShell
oh-my-posh --init --shell pwsh | Invoke-Expression
Set-PoshPrompt -Theme powerlevel10k_rainbow
Import-Module -Name Terminal-Icons
Import-Module PSReadLine
Set-PSReadLineOption -PredictionSource HistoryAndPlugin
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -EditMode Windows
Set-PSReadLineOption -HistorySearchCursorMovesToEnd