Remove-Item (Get-PSReadlineOption).HistorySavePath 运行之后需关闭窗口,再打开窗口用键盘上下键就不会出现了
Remove-Item (Get-PSReadlineOption).HistorySavePath