之前折腾 PSReadLine 不知道哪里弄错了,现在每次启动 PS 都报错。
Set-PSReadLineOption : 无法将“Set-PSReadLineOption”项识别为 cmdlet 、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路
径,请确保路径正确,然后再试一次。
所在位置 行:318 字符: 5
+ Set-PSReadLineOption -ContinuationPrompt (@(Start-Utf8Process $sc ...
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-PSReadLineOption:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-
$Profile应该跟这个无关,全都注释了报错依旧。 -
之前用 scoop install PSReadLine 装的,已经卸载,报错依旧。
想请问 PowerShell 启动时候还会读哪里造成的这个报错