개발 이야기/프론트엔드 개발자
터미널을 이쁘게
석구석구
2020. 12. 18. 20:17
1. 설치
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. 설치
brew install zsh
3. 설치
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)
4. ~/.zshrc
ZSH_THEME="agnoster"
prompt_context() {
# Custom (Random emoji)
git_emoji=("🎨" "⚡️" "🔥" "🐛" "✨" "🚨")
RAND_EMOJI_N=$(( $RANDOM % ${#git_emoji[@]} + 1))
prompt_segment black default "${git_emoji[$RAND_EMOJI_N]} "
}
5.
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
6. Ubuntu Mono 폰트 설정