less than 1 minute read

  1. brew로 zsh설치
    brew install zsh
    
  2. /etc/shells 파일에 /usr/local/bin/zsh 추가
  3. 기본 쉘 변경
    chsh -s /usr/local/bin/zsh
    
  4. 변경된 쉘 확인
    echo ${SHELL}
    
  5. oh-my-zsh 설치
    curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
    
  6. 테마 설정 ~/.zshrc 파일을 열어 안의 내용 중 ZSH_THEME를 “agnoster”
  7. 테마 특수문자 출력 확인
    echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
    
  8. 특수문자 미출력시 폰트 설치
    git clone https://github.com/powerline/fonts.git
    cd fonts
    ./install.sh
    cd ..
    rm -rf fonts
    
  9. 터미널 환경설정에서 폰트명이 Powerline으로 되어 있는 폰트로 선택

Comments