테마를 바꾸고 싶거나, 컴퓨터를 바꾸게 될 미래의 절 위해 이 기록을 남겨둡니다.
WSL+Ubuntu와 oh-my-zsh를 설치하지 않아도 가능하다!!!
Windows Terminal의 설정 → profiles.json 파일에다가 테마를 직접 복사하는 방식
Windows Terminal Themes
테마는 이 링크에서 확인 가능 (다른 곳에서 찾아도 된다)
Oh My Posh를 사용하여 프롬프트에 테마를 입히는 방식
Windows 터미널 사용자 지정 프롬프트 설정
위 링크를 살펴보면 이해하기 더 수월하다.
Themes | Oh My Posh
테마는 이 링크에서 확인 가능
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
notepad $PROFILE
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme [원하는 테마 이름]
Set-ExecutionPolicy RemoteSigned
Get-PoshThemes
명령어를 입력해서 터미널에서도 직접 테마들을 확인 가능
Oh My Posh를 사용할 경우, 그래픽 기호가 네모로 깨지는 현상이 발생하고, 이를 해결하기 위해선 특수한 폰트인 Nerd Fonts 설치가 필수이다.
Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher
다운 가능한 Nerd Fonts는 이 링크에서 확인 가능
PowerShell 테마로 예쁘게 쓰기 ( with. Windows Terminal )
Windows powershell을 mac terminal처럼 예쁘게 꾸며보자(Oh-My-Posh)