ohmyzsh , agnoster 테마 설정방법 정리

in #zsh6 years ago (edited)

맥북을 포맷한 김에 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 설정

  1. theme는 solarized dark 로 : Preference > Profile > Color > Color Preset > Solarized dark
  2. font는 Inconsolata for Powerline 으로

5. 작업 디렉터리 정리

cd ..
rm -rf agnoster_theme
Sort:  

kr-dev 다시니까 좀 더 많은 분들이 보시죠? You're welcome!

으흐흐 팁 고맙습니다 :-)

이제 제 글도 좀 와서 봐주십... 굽신굽신

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 56934.21
ETH 3091.02
USDT 1.00
SBD 2.38