[Intellij] Terminal 사용하기 (PowerShell -> Git bash)
아니 난 왜 안 되는 거셈?! 보니까 당당히 Windows PowerShell이라고 적혀있다..
맥북러들은 바로 쓸 수 있겠지?ㅜ
그래서 터미널 환경설정을 바꿔주도록 한다.
1. Git bash 설치
먼저 GIt bash가 설치되어있지 않다면 설치를 하고 오자.
Git
git-scm.com
인스톨하면서 옵션들이 굉장히 많지만 default로 세팅하고 넘기면 된다.
2. Intellij Terminal Setting
Ctrl + Alt + S (Settings) -> Tool -> Terminal로 가도 되고 저렇게 아래 화살표를 클릭해 바로 환경설정 메뉴로 접근할 수 있다.
Shell path 가 지금 powershell로 되어있는데 방금 설치한 git 경로에서 sh.exe를 선택한다.
3. Intellij 재부팅
짜릿,, 근데 뭔가 이상하다..!?
4. 공식문서 왈
공식문서에선 큰따옴표(")로 쉘 path를 입력하고 -login -i 옵션을 주라고 한다.
이유를 찾아보니.. Locale정보가 달라서 한글 출력이 안된다는 것..!
5. 최종
"C:\Program Files\Git\bin\sh.exe" -login -i
<참조>
https://www.jetbrains.com/help/webstorm/2017.1/working-with-embedded-local-terminal.html
Working with Embedded Local Terminal - Help | WebStorm
Working with Embedded Local Terminal On this page: Prerequisites Before you start working with terminal, make sure that the Terminal plugin is enabled. The plugin is bundled with WebStorm and is activated by default. If the plugin is not activated, enable
www.jetbrains.com
https://colinch4.github.io/2020-12-03/README.intellij/
colin's 블로그
개발 강좌 블로그
colinch4.github.io
'IDE' 카테고리의 다른 글
[Rider] generate applicationhost.config (0) | 2022.06.23 |
---|---|
[Visual Studio] 테마 변경, 줄 번호 표시, 텍스트 색 변경 (0) | 2022.05.31 |
[Visual Studio] 대상 프레임워크 버전 변경(target .NET Framework) (0) | 2022.05.30 |
[SVN] Window Server에서 Repository 생성 (0) | 2022.04.21 |
[Intellij] SVN merge for Override (Resolve Conflits) (0) | 2021.12.23 |