Open5

ターミナルのカスタマイズ諸々

tommytommy

PowerShell

https://learn.microsoft.com/ja-jp/windows/terminal/tutorials/custom-prompt-setup

Terminal-Icons

https://github.com/devblackops/Terminal-Icons

Install-Module -Name Terminal-Icons -Scope CurrentUser

Posh Git

https://github.com/dahlbyk/posh-git

Install-Module posh-git -Scope CurrentUser

Oh My Posh

https://docs.microsoft.com/ja-jp/windows/terminal/tutorials/custom-prompt-setup

フォント

https://github.com/yuru7/HackGen

セットアップ

# install
winget install oh-my-posh

# profile作成
if (!(Test-Path -Path $PROFILE)) {
  New-Item -ItemType File -Path $PROFILE -Force
}

# prifile更新
notepad $PROFILE

. $profile 
$PROFILE
Import-Module -Name Terminal-Icons
Import-Module posh-git
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\slimfat.omp.json" | Invoke-Expression
Set-PoshPrompt -Theme slimfat
$env:POSH_GIT_ENABLED = $true

Update

Update-Module <module>
tommytommy

Gitコンソールカスタマイズ

delta

https://github.com/dandavison/delta

.gitconfig
[core]
	pager = delta
[interactive]
	diffFilter = delta --color-only
[delta]
	navigate = true
	line-numbers = true
	side-by-side = true
[merge]
	conflictstyle = diff3
[diff]
	colorMoved = default