报错:

1  Set-Theme Set-Theme: The term 'Set-Theme' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

卡在了无法设置主题这里

突破点是找到一个帖子中:https://blog.csdn.net/qq_35067322/article/details/107031921里说可以列出样式。

C:\Users\Qiu\Desktop> Get-Theme

Hi there!

It seems you're using an oh-my-posh V2 cmdlet while running V3.
To migrate your current setup to V3, have a look the documentation. https://ohmyposh.dev/docs/upgrading C:\Users\Qiu\Desktop> Update-Module -Name oh-my-posh -AllowPrerelease -Scope CurrentUser
C:\Users\Qiu\Desktop> Set-Theme Agnoster
Set-Theme: The term 'Set-Theme' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

然后就看到上面这段,大概意思是版本不兼容(为什么没看到别人出现该情况呜呜呜/(ㄒoㄒ)/~~)

打开网站: https://ohmyposh.dev/docs/upgrading

更新下自己的oh-my-posh:Update-Module -Name oh-my-posh -AllowPrerelease -Scope CurrentUser

发现使用set-theme也是不行,

官方是使用 Get-PoshThemes 查看支持主题;Set-PoshPrompt paradox 设置主题。

over~

最新文章

  1. Java集合类源码学习- Iterabel<T>,Colection<E>,AbstractCollection<E>
  2. Ubuntu12.04下编译OpenCv2.4.9程序
  3. 前端学PHP之文件操作(认真读读)
  4. NEC的学习笔记
  5. jquery实现input输入框实时输入触发事件代码
  6. 20道C#练习题(二)11——20题
  7. 解决MySQL不允许从远程访问的方法
  8. 在button中加入一个view图片
  9. 《JavaScript+DOM编程艺术》的摘要(三)---图片库实例
  10. 进程间通信之AIDL
  11. mysql转ElasticSearch的案例分析
  12. wordpress中安装插件需要ftp服务
  13. 居于U2000手机管理光猫,小区运营商FTTH光猫注册神器,MA5680T手机管理,自动添加光猫
  14. JSP总结(二)—Cookie(汇总)
  15. u3d 元件的克隆 Cloning of u3d components
  16. 原生js可视加载图片、延迟加载、懒加载
  17. eclipse中整合ejb和web工程
  18. Python2.7-xdrlib
  19. echart 对双折线的使用
  20. Oracle中的字符处理方法

热门文章

  1. netperf对比
  2. 分布式存储ceph---openstack对接ceph存储后端(4)
  3. CSS(2)盒子模型、定位浮动
  4. C语言实现推箱子游戏完整代码
  5. 【SpringBoot基础系列】手把手实现国际化支持实例开发
  6. 调试动态加载的js
  7. TensorFlow Frontend前端
  8. Deeplearning知识蒸馏
  9. MIT Graph实践概述
  10. 新版 ZooKeeper 启动时一直报: Starting zookeeper … FAILED TO START