Win10:Terminal美化
# powershell这种安装方式没有试成功
# C:\Users\riguz\Documents\WindowsPowerShell\Modules\oh-my-posh
# C:\Program Files\WindowsPowerShell\Modules
# Install-Module oh-my-posh -Scope CurrentUser
Winget安装:
在AppStore里面更新App Installer
winget install JanDeDobbeleer.OhMyPosh
# 修改$PROFILE
oh-my-posh --init --shell pwsh --config ~\AppData\Local\Programs\oh-my-posh\themes\jandedobbeleer.omp.json | Invoke-Expression
. $PROFILE
# 管理员运行
set-executionpolicy remotesigned
echo