맥북의 기본 터미널 앱 대신 많이 사용하는 iTerm2에 포켓몬 테마를 적용할 수 있다는 글을 발견했다.
아래 레포에서 다운받아 사용하면 된다.
https://github.com/LazoCoder/Pokemon-Terminal
GitHub - LazoCoder/Pokemon-Terminal: Pokemon terminal themes.
Pokemon terminal themes. Contribute to LazoCoder/Pokemon-Terminal development by creating an account on GitHub.
github.com
나는 그동안 기본 터미널 앱을 사용하고 있었는데 눈돌아가서 바로 iTerm을 설치해서 커스텀해보았다.
적용 순서
순서는 대강 이런 것 같다...
- iTerm2 설치 (iTerm2 말고도 ConEmu, Terminology 등 다른 터미널 에뮬레이터도 지원됨)
- pip를 사용하여 패키지 설치 (npm 등 다른 툴로도 가능)
- 사용
iTerm2는 아래 링크에서 다운받거나 homebrew로 설치해준다.
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
패키지 설치는 아래 명령어로 진행한다.
- 시스템 전역에 설치하고 싶으면 sudo 등의 키워드로 설치해준다.
- per-user로 설치하고 싶으면 --user 플래그를 같이 사용해준다.
pip3 install git+https://github.com/LazoCoder/Pokemon-Terminal.git
난 그냥 sudo로 설치했다. sudo 쓰지 말라던데.. 포켓몬 테마 정도는 괜찮지 않을까?
sudo 없이 설치했을 땐 자꾸 pokemon 커맨드를 못찾았다. 환경변수 설정하는걸 잘 몰라서 그냥 sudo -h 키워드로 설치했던 것 같다.
고수들은 환경변수 설정법좀 알려주십쇼
https://medium.com/@chullino/sudo-절대-쓰지-마세요-8544aa3fb0e7
Sudo pip install은 안돼요!
안녕하세요. 개발자 Chullin입니다.
medium.com
사용 방법
암튼 설치하고 나면 포켓몬 테마를 사용할 수 있다.
pokemon
pokemon 키워드를 입력하면 랜덤하게 포켓몬 테마가 설정된다.
참고로 iTerm2 기본 스타일 설정도 좀 돼있는 상태이다. 이건 구글링하면 잘 정리된 글이 많다.
pokemon 1 같은 식으로 도감번호를 입력해주면 해당 도감번호의 포켓몬 테마가 설정된다.
pokemon 도감번호
도감번호 말고 영문이름도 가능하다.
pokemon 포켓몬영문이름
iTerm을 켤때마다 포켓몬 세팅이 돼있길 원한다면 시작 명령어 설정을 해주면 된다.
iTerm2 → [Settings] → [Preference] →[Profiles] → 프로필 선택 → [General] 로 가준 다음
Send text at start 항목에 원하는 커맨드를 넣어주면 터미널이 열릴 때마다 실행된다.
아래와 같은 경우에는 터미널을 열었을 때 다크라이 테마를 설정하고 커맨드를 지워준다.
pokemon 491; clear
iTerm을 열 때마다 랜덤한 포켓몬이 나오게 하고 싶으면 pokemon을 해주면 되겠다.
깃허브 보면 원하는 지방이나 타입 별로도 다양하게 설정이 가능한 것 같다.
⚠️ 커맨드 입력해도 적용되지 않는 문제
⚠️ 나만 그런건 아닌 것 같고, iTerm에서 pokemon 커맨드를 입력해도 적용이 되지 않는 문제가 있는 것 같다. (커맨드를 찾을 수 없다고 뜨는게 아니라 그냥 적용이 안됨)
https://github.com/LazoCoder/Pokemon-Terminal/issues/196
Not working on iTerm2 · Issue #196 · LazoCoder/Pokemon-Terminal
i've been using this mod for years, but now it suddenly stops working on my macbook with iTerm2, i tried to re install but still getting the same issue that the background doesn’t change at all, an...
github.com
나같은 경우는 처음엔 되는데 맥북을 닫았다가 다시 열면 안되는 것 같았다.
→ 위 링크 이슈의 답변대로 iTerm 설정에서 배경화면 이미지를 Enabled 시키니까 해결되었다. 나는 그냥 새까만 이미지를 적용시켜주었다.
![](https://blog.kakaocdn.net/dn/blR1ld/btsudYZpO27/NDh62OiAdaSXBq7oB78wf1/img.png)
🔥 멋있는애들
Mewtwo-Megay
Shaymin-Sky
Kyurem-Black
Rotom-Heat
Keldeo-Resolute
Rayquaza-Alt
Rotom-Frost
Rotom-Wash
Meloetta-Pirouette
Rotom-Mow
Groudon-Alt
Kyurem-White
Deoxys-Speed
Arceus-Special
Kyogre-Alt
Tornadus-Therian
Giratina-Origin
Rotom-Fan
Thundurus-Therian
Deoxys-Attack
Deoxys-Defense
Landorus-Therian