使用Oh my Posh设置Windows PowerShell主题要点
要点:①按照官方文档安装Oh my Posh。遇到“PowerShell因为在此系统中禁止执行脚本...”的问题时,使用管理员身份打开PowerShell,执行set-ExecutionPolicy RemoteSigned②在PowerShell中单独设置主题一次可执行Set-PoshPrompt -Theme slim。若要每次打开PowerShell自动设置主题,需要在C:\Users\myname\Documents\WindowsPowerShell文件夹下新建Microsoft.Powe







