很beautiful的终端 Windows应用商店可以搜索下载
设置毛玻璃效果 (ctrl+,或者直接点击边上的setting 添加以下语句)
"useAcrylic": true, //背景毛玻璃效果(没有图片作为背景时明显)
设置毛玻璃效果后 参数会容易看不清楚 修改下参数颜色
Set-PSReadLineOption -Colors @{
Parameter = 'Green'
}
复制以上代码 保存为 C:\Users\<username>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
系统限制脚本运行 默认是无法使用的 用管理员在PS运行
Set-ExecutionPolicy -ExecutionPolicy UNRESTRICTED
好了
转载 https://www.jianshu.com/p/af072844e130
https://blog.csdn.net/qq_38780378/article/details/103044295