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