오리대마왕 avatar

ohmyzsh , agnoster 테마 설정방법 정리

kingori2

Published: 06 Apr 2018 › Updated: 06 Apr 2018ohmyzsh , agnoster 테마 설정방법 정리

ohmyzsh , agnoster 테마 설정방법 정리

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

Leave ohmyzsh , agnoster 테마 설정방법 정리 to:

Written by

Android, Programming, Guitar

Read more #zsh posts


Best Posts From 오리대마왕

We have not curated any of kingori2's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From 오리대마왕