winget install JanDeDobbeleer.OhMyPosh -s winget
oh-my-posh font install
$PROFILE
notepad $PROFILE
mkdir "$env:HOMEPATH\Documents\WindowsPowerShell"
新建 Microsoft.PowerShell_profile.ps1
set-ExecutionPolicy RemoteSigned
Get-PoshThemes
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\M365Princess.omp.json" | Invoke-Expression
clink info
C:\Program Files (x86)\clink\oh-my-posh.lua
load(io.popen('oh-my-posh init cmd --config="C:\\Users\\breeze\\AppData\\Local\\Programs\\oh-my-posh\\themes\\M365Princess.omp.json"'):read("*a"))()
升级:winget upgrade JanDeDobbeleer.OhMyPosh -s winget
https://ohmyposh.dev/
https://github.com/chrisant996/clink/releases
评论前必须登录!
立即登录 注册