oh my zsh 설치하기
2017. 1. 20. 17:24
보다 간편한 터미널 사용을 위한 설정입니다.
1. zsh 설치
sudo apt-get install zsh
2. zsh을 기본 쉘로 설정
which zsh로 zsh의 위치를 확인한 후
chsh -s `위의 위치`
로그아웃후 다시 로그인
3. oh my zsh 설치
sudo apt install curl
curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
로그아웃 후 다시 로그인
4. powerline font 설치
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
이후에 edit-profile preference에서 font를 Ubuntu mono derivative powerline regular에 13으로 변경
5. 테마 설정
emacs ~/.zshrc
ZSH_THEME을 찾아 "agnoster"로 변경(기존 설정을 주석처리하고 새로 추가하는 것 권장)