Windows 터미널 테마 변경
6262 단어 programmingshowdevproductivity
하지만 Windows 터미널을 아름답게 보이게 하려면 테마를 추가해야 하므로 시작하겠습니다.
#첫 번째
Microsoft Store에서 Windows 터미널 설치Go to Store
#초
설치 모듈 설치 Oh-my-Posh
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
#제삼
*Powershell 프로필 만들기 *
// use vscode
code $PROFILE
프로필에 이것을 추가하십시오
Import-Module posh-git
Import-Module oh-my-posh
테마 가져오기, 테마 선택here, 프로필에서 가져오기 후
Import-Module posh-git
Import-Module oh-my-posh
# your theme
Set-PoshPrompt -Theme paradox
#네번째
"schemes"에 이 스타일 개체를 추가합니다.
"schemes": [
{
"name": "CustomeTheme",
"black": "#7d8b8f",
"red": "#b23a52",
"green": "#789b6a",
"yellow": "#b9ac4a",
"blue": "#225a79",
"purple": "#bd4f5a",
"cyan": "#2b7c71",
"white": "#d2d8d9",
"brightBlack": "#888888",
"brightRed": "#f24840",
"brightGreen": "#80c470",
"brightYellow": "#ffeb62",
"brightBlue": "#4196ff",
"brightPurple": "#fc5275",
"brightCyan": "#53cdbd",
"brightWhite": "#d2d8d9",
"background": "#2b2d2e",
"foreground": "#d2d8d9",
"selectionBackground": "#e4e8ed",
"cursorColor": "#708284"
}
],
목록에서 해당 테마를 추가합니다.
"list":
[
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"fontFace": "Fira Code",
"fontSize": 9,
"colorScheme": "CustomeTheme"
},
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
메모
열어서 테마 색상을 변경할 수 있습니다.
$Home\[My ]Documents\WindowsPowerShell\Modules\oh-my-posh\3.118.0\themes
활성 테마를 선택하고 해당 json을 편집합니다.
Reference
이 문제에 관하여(Windows 터미널 테마 변경), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/ilhamsabir/change-windows-terminal-theme-49l7텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)