====== Windows Terminal ======
* [[https://docs.microsoft.com/ko-kr/windows/terminal/tutorials/powerline-setup|Windows 터미널 Powerline 설정 | Microsoft Docs]]
===== 기본 Profile 설정=====
* [[https://docs.microsoft.com/ko-kr/windows/terminal/customize-settings/profile-general|Windows Terminal General Profile Settings | Microsoft Docs]]
==== Font / 글꼴 ====
"profiles":
{
"defaults":
{
"fontFace": "D2Coding",
"fontSize": 16
},
...
}
===== 기본 터미널 변경 =====
* [[https://alexanderallen.medium.com/windows-terminal-changing-the-default-shell-c4f5987c31|Windows Terminal: Changing the Default Shell | by Callback Insanity | Medium]]
* ''Ubuntu'' 의 ''guid'' 값을 복사해서 **''defaultProfile''** 의 값으로 넣으면 된다.
* 이 경우 ''$HOME'' 디렉토리로 셸이 열리지 않는 문제가 있다. [[https://docs.microsoft.com/ko-kr/windows/terminal/troubleshooting|Windows 터미널 문제 해결 | Microsoft Docs]] 참조하여
* Ubuntu-20.04 가 이름이라면 wsl 경로는 ''%%//wsl$/Ubuntu-20.04/home/%%'' 이 값을 WSL Ubuntu 설정의 ''startingDirectory'' 값에 넣어준다.
wsl --list # 배포판 이름 확인
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl",
"startingDirectory" : "//wsl$/Ubuntu-20.04/home/myusername"
}
역슬래시(\) 사용시에는 JSON escape 를 해줘야한다.
"startingDirectory" : "\\\\wsl$\\Ubuntu-20.04\\home\\myusername"
===== Drop Down / Quake mode =====
* [[https://blog.danskingdom.com/Bring-up-the-Windows-Terminal-in-a-keystroke/|Bring up the Windows Terminal in a keystroke - Daniel Schroeder’s Programming Blog]]
* [[https://github.com/microsoft/terminal/issues/653|Feature request: hot key drop down ala quake/guake/tilda · Issue #653 · microsoft/terminal]]
* [[https://gist.github.com/atruskie/99a498ac43b91deb91eab4069b6047b9|AutoHotkey script to bind Win+~ keyboard shortcut to Windows Terminal]]
* [[https://gist.github.com/andrewgodwin/89920ee02501ab12d09b02500897066c|AutoHotkey script for making Windows Terminal appear/disappear with a single keypress]]
===== 참조 =====
* [[https://www.sitepoint.com/windows-terminal/|Windows Terminal: The Complete Guide - SitePoint]]
* [[https://www.lesstif.com/software-architect/windows-terminal-89555840.html|윈도우즈 터미널(Windows Terminal) 설정하기]]
* [[https://www.ubuntupit.com/best-terminal-emulators-for-windows-system/|Top 5 Best Terminal Emulators for Windows System]]