맥북을 포맷한 김에 oh-my-zsh 을 설치하고, 테마를 찾던 중 터미널 초보의 필수품인 Oh My ZSH!를 사용하자 에서 언급된 agnoster 테마 설치를 정리해 보았다.
0.준비
mkdir agnoster_theme
cd agnoster_theme
1. powerline patched 폰트 설치
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
2. agnoster.zsh-theme 복사
curl -o agnoster.zsh-theme https://gist.githubusercontent.com/agnoster/3712874/raw/43cb371f361eecf62e9dac7afc73a1c16edf89c7/agnoster.zsh-theme
mkdir ~/.oh-my-zsh/custom/themes
mv agnoster.zsh-theme ~/.oh-my-zsh/custom/themes
3. ~/.zshrc 에 테마 선언
ZSH_THEME="agnoster"
4. iTerm 2 설정
- theme는 solarized dark 로 : Preference > Profile > Color > Color Preset > Solarized dark
- font는 Inconsolata for Powerline 으로
5. 작업 디렉터리 정리
cd ..
rm -rf agnoster_theme
kr-dev 다시니까 좀 더 많은 분들이 보시죠? You're welcome!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
으흐흐 팁 고맙습니다 :-)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
이제 제 글도 좀 와서 봐주십... 굽신굽신
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit