Oh-My-Poshでテーマ変更する
#Windows #PowerShell #Oh-My-Posh
Oh-My-PoshはPowerShell上で動作するテーマエンジンです。
notepad $PROFILEでpower shellの設定ファイルを開く
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expressionを記述
ここのjandedobbeleer.omp.jsonの部分を変更したいテーマのjsonファイルに変更する
テーマはC:\Users\ユーザー名\AppData\Local\Programs\oh-my-posh\themesに格納されている
参考
https://ohmyposh.dev/docs/installation/customize