Oh My Posh in Windows Terminal + PlemolJP


https://ohmyposh.dev/
PowerShell 플러그인처럼 사용합니다.다른 조개껍질 (bash,zsh,fish) 처럼 설정 파일에 정의되어 있으며, 시작할 때마다 설정을 읽습니다.윈도 테마뿐만 아니라 PowerShell 응용 프로그램과 VScode 내 터미널에서도 주제를 반영할 수 있다는 것이다.

차리다


Windows Terminal을 시작하여 다음 명령을 실행합니다.
Set-ExecutionPolicy RemoteSigned -Scope Process
※ 확인 후 기술한 참고문, 무엇을 하는지 미리 파악

설치하다.


https://ohmyposh.dev/docs/pwsh
Install-Module oh-my-posh -Scope CurrentUser

테마 미리 보기


Get-PoshThemes
적용하려는 주제의 이름을 복사합니다.이번 선택powerlevel10k_rainbow.

프로파일로 설정

  • PowerShellnotepad $PROFILE

  • 추가Set-PoshPrompt -Theme powerlevel10k_rainbow 및 보관
  • 글꼴 설정 "PlaemolJP Constore NF"

  • PlaemolJP입니까, 아니면 다른 것입니까? - 프로그램 디자인용 글씨체를 철저히 비교합니다!|Output 0.1
  • 다운로드Releases · yuru7/PlemolJP
  • PlemolJP_NF_v*.*.*.zip ※ Nerd Fonts 대응 버전(터미널용)
  • Windows TerminalCtrl + ,에서 설정 화면 열기
  • 설정 메뉴에서 JSON 파일 열기
  • profiles > defaults > "fontFace": "PlemolJP Console NF"

  • 참고 자료

  • https://github.com/pecigonzalo/Oh-My-Posh/issues/35
  • PowerShell의 ExecutionPolicy에 대한 자세한 내용
  • 정책 실행 정보 - PowerShell | Microsoft Docs
  • 좋은 웹페이지 즐겨찾기