侧边栏壁纸
博主头像
wxc博主等级

多接近生活,远离互联网

  • 累计撰写 49 篇文章
  • 累计创建 3 个标签
  • 累计收到 0 条评论
标签搜索

目 录CONTENT

文章目录

Windows Terminal oh-my-posh美化

wxc
wxc
2022-10-31 / 0 评论 / 0 点赞 / 425 阅读 / 130 字
  1. 微软商店搜索安装on my posh
  2. 打开Windows Terminal JSON设置
  3. 在defaults配置添加以下内容
"useAcrylic" : true,
"acrylicOpacity" : 0.4,
"font": 
{
	"face": "MesloLGS Nerd Font Mono",
	"size": 12
},
"backgroundImage": "背景图片路径", 
"backgroundImageOpacity": 0.4
  1. 在power shell中输入
notepad $PROFILE
  1. 添加以下内容到打开的文件
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\montys.omp.json | Invoke-Expression

如果出现乱码安装Nerd字体, 可以从这里挑选一款喜欢的字体

0

评论区