일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 2020 KAKAO BLIND RECRUITMENT
- 선형회귀
- 개발
- 타겟 넘버
- themida
- level 3
- 자물쇠와 열쇠
- pwnable
- 스택/큐
- 동적계획법
- level3
- 코딩테스트
- level1
- 전화번호 목록
- 프로그래머스
- Programmers
- 동빈나
- 여행경로
- level2
- 머신러닝
- level 2
- Python3
- 베스트앨범
- vscode
- DFS/BFS
- 같은숫자는싫어
- 더 맵게
- 문자열압축
- github
Archives
- Today
- Total
hoon
MSYS2 - windows terminal에서 사용설정 본문
윈도우에서 gcc를 사용할 수 있도록 하는 소프트웨어, 자세한 내용은 구글에 검색해보자
https://www.msys2.org/ --> 여기에서 다운 및 자세한 설명이 있다.
msys2를 windows terminal에서 열 수 있게 설정하는 방법은
https://www.msys2.org/docs/terminals/ 여기에서 잘 설명되어 있다.
사이트 내 다음과 같은 구문을 넣어 설정하라고 설명이 되어 있는데
// This makes MINGW64 the default shell
"defaultProfile": "{17da3cac-b318-431e-8a3e-7fcdefe6d114}",
"profiles": {
"list":
[
// ...
{
"guid": "{17da3cac-b318-431e-8a3e-7fcdefe6d114}",
"name": "MINGW64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw64.ico",
"fontFace": "Lucida Console",
"fontSize": 9
},
{
"guid": "{2d51fdc4-a03b-4efe-81bc-722b7f6f3820}",
"name": "MINGW32 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw32",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw32.ico",
"fontFace": "Lucida Console",
"fontSize": 9
},
{
"guid": "{71160544-14d8-4194-af25-d05feeac7233}",
"name": "MSYS / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -msys",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/msys2.ico",
"fontFace": "Lucida Console",
"fontSize": 9
},
// ...
]
}
list 안에 다른 터미널, wsl, powershell 밑에 설정 넣어주면 된다. 참고로 fontFace와 fontSize 부분에서는 오류가 생겨서 해당 부분을 제거하였다.
{
"guid": "{17da3cac-b318-431e-8a3e-7fcdefe6d114}",
"name": "MINGW64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw64.ico"
},
{
"guid": "{2d51fdc4-a03b-4efe-81bc-722b7f6f3820}",
"name": "MINGW32 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw32",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw32.ico"
},
{
"guid": "{71160544-14d8-4194-af25-d05feeac7233}",
"name": "MSYS / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -msys",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/msys2.ico"
}
'잡' 카테고리의 다른 글
[python3] 잘안써서 기억 안나는거 생각날때 마다 추가 (0) | 2023.03.26 |
---|---|
Vscode 편하게 분할 창 (0) | 2023.03.26 |
HOW TO USE GIT? (0) | 2022.07.03 |
Comments