oh-my-posh

先安装Windows terminal

用Microsoft.WindowsTerminal_1.17.11461.0_8wekyb3d8bbwe.msixbundle安装

 

安装oh-my-posh

Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))

 

 

https://ohmyposh.dev/docs/installation/prompt

如果之前没有创建过profile文件的话,用命令先创建出来

New-Item -Path $PROFILE -Type File -Force

然后打开,用windows terminal打开notepad $profile

& ([ScriptBlock]::Create((oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json" --print) -join "`n"))

 

C:\Users\clu\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

 

字体安装

https://github.com/JanDeDobbeleer/oh-my-posh/pull/3907#issuecomment-1619882730

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(19)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2022-07-04 C# string reference type?
2022-07-04 Why DataSet is being passed by reference without explicitly passing out or ref parameter? [duplicate]
2022-07-04 How to write an async method with out parameter?
2022-07-04 Executing tasks in parallel
2022-07-04 SSIS How to Create an ETL Package Article 03/25/2022 3 minutes to read
2022-07-04 Download SQL Server Data Tools (SSDT) for Visual Studio
2022-07-04 Common async / Task mistakes, and how to avoid them
点击右上角即可分享
微信分享提示