42 서울에서 iterm2 세팅하기
목차
0. 미리 보는 결과
1. iTerm2 다운로드
2. 42homebrew 설치
3. ohmyzsh 설치
4. Color Schemes and Themes 고르기
5. 테마를 import 해와서 적용한다.
0. 결과
그 전 Dark background
Snazzy
Color Skin이 변경되었다.
1. iTerm2 다운로드
왼쪽이 기본 제공, 오른쪽이 다운로드한 iterm 2
(마우스를 갖다대면 iterm라고만 나오긴 함)
공식 링크
iTerm2 - macOS Terminal Replacement
iTerm2 by George Nachman. Website by Matthew Freeman, George Nachman, and James A. Rosen. Website updated and optimized by HexBrain
iterm2.com
2. 42homebrew를 설치
그냥 brew는 42에서 설치할 수 없다. (sudo 권한이 없기 때문으로 추정)
따라서 42homebrew github에 들어가서 42homebrew 설치
https://github.com/kube/42homebrew
GitHub - kube/42homebrew: Install Homebrew on 42 sessions
Install Homebrew on 42 sessions. Contribute to kube/42homebrew development by creating an account on GitHub.
github.com
curl -fsSL https://rawgit.com/kube/42homebrew/master/install.sh | zsh
위 명령어를 치면 된다
그러면 나오는 결과창
Use open a new shell to finish installation 나오면 끝
3. ohmyzsh 설치
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
위 명령어를 친다
결과창
ohmyyzsh 깔기만 해도 벌써 prompt 부분이 달라진다!!
4. Color Schemes and Themes 고르기
https://iterm2colorschemes.com
Iterm Themes - Color Schemes and Themes for Iterm2
iTerm Themes Intro This is a set of color themes for iTerm (aka iTerm2). Screenshots below and in the screenshots directory. Installation Instructions To install: Launch iTerm 2. Get the latest version at iterm2.com Type CMD+i Navigate to Colors tab Click
iterm2colorschemes.com
많이들 하는 테마들 목록
- Gruvbox
- Molokai
- Dracula
- onehalf light
- Solarized Dark
https://www.slant.co/topics/480/~best-vim-color-schemes
나는 예전에 썼던 Snazzy 를 가져왔다
링크 : https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Snazzy.itermcolors
이름 클릭하면 나오는 페이지의 링크를 복사한다.
mkdir util
cd util
curl -LO https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Snazzy.itermcolors
Total % ~~ 구문이 출력되고 끝
5. 테마를 import 해온다
방금 저장된 util/Snazzy.itermcolors 파일 위치를 기억하고 환경설정을 하러 들어간다.
Iterm2 -> preferences -> Profiles -> Colors 에 들어가서
맨 아래의 Color Presets를 클릭
"Import"를 클릭하고 -> 아까 다운로드 받았던 Snazzy.itermcolors 파일을 선택한다
그리고 다시 Color Presets를 클릭하면
저렇게 Snazzy가 추가되어 있는 것을 발견할 수 있다.
Snazzy를 클릭해서 설정하면 컬러 스킨 설정 완료
0. 결과
그 전 Dark background
Snazzy
Color Skin이 변경되었다.
'42seoul > 42seoul_' 카테고리의 다른 글
[Inception 42] In docker-compose.yml file network must be a mapping not a string (0) | 2022.06.21 |
---|---|
[Inception 42] docker-compose로 wordpress만 올려보기(공식문서 참고) (0) | 2022.06.21 |
[Inception 42] Virtualbox 화면 크기 키우기 (0) | 2022.06.21 |
[Inception 42] Ubuntu에 Docker 설치하기 (0) | 2022.06.21 |
[Inception 42] ubuntu 세팅하고 유저 설정하기 (0) | 2022.06.21 |
[inception 42] 인셉션 pdf 요구사항 한글 번역 (0) | 2022.06.18 |
42서울 클러스터 맥 초기화/reset 방법 (0) | 2022.06.18 |
[Inception 42] virtualbox linux-ubuntu 운영체제 만들기 / iso 파일 연결까지 (0) | 2022.01.13 |