Mac 터미널(iterm2로) 꾸미기 1
Mac 터미널을 꾸밀 수 있다고 강사님이 말씀하시길래 시간을 투자하여 꾸며보려 한다.
일단 설치 프로그램을 두 개 다운 받아준다.
1. iterm2
가장 먼저 brew install iterm2 --cask 로 다운 받아준다.
그 후에는 spotlight에서 iterm으로 검색해서 사용한다
cmd+shift+d : 화면 분할
cmd+shift+i : 동시에 커맨드 입력 (여러 개의 서버에 동시에 작업할 때 유용)
2. oh-my-zsh
github oh my zsh 을 검색하여 들어간 사이트에서
https://github.com/ohmyzsh/ohmyzsh
GitHub - ohmyzsh/ohmyzsh: 🙃 A delightful community-driven (with 2,100+ contributors) framework for managing your zsh config
🙃 A delightful community-driven (with 2,100+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...
github.com
curl 부분 install의 링크를 복사하여 iterm에 붙여넣어주면 자동으로 다운로드 된다.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
위 깃헙 사이트에서 Themes 부분의 스크린샷을 참고하여 원하는대로 꾸며줄 수 있다.
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
Themes
🙃 A delightful community-driven (with 2,100+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...
github.com
그다음 iterm에
vi ~/.zshrc 를 입력
그럼 중간 쯤 ZSH_THEME 부분에 원하는 테마를 넣어주면 된다.
해당 부분을 수정하기 위해선 먼저 i를 눌러 insert 모드로 진입한 뒤 수정후
esc를 누르고 :wq로 저장하고 꺼준다.
나머지는 2편에서 계속
https://front-kuli.tistory.com/16
zsh 꾸미기 2 완료-!!
어제에 이어 터미널 꾸미기를 계속 해보려고 한다. less ~/.zshrc 를 입력하면 어제 설정해줬던 zsh_theme을 포함한 다른 프로퍼티들을 확인할 수 있는데, 어제 지정했던 agnoster 테마에 강사님처럼 뭔
front-kuli.tistory.com