본문 바로가기

기타

[기타] iTerm2 zsh 테마(powerlevel10k) 설정하기

728x90

iTerm2 zsh 테마(powerlevel10k) 설정하기

iTerm2 설치

공식 홈페이지 : https://iterm2.com/

또는 homebrew 명령으로 설치

brew install --cask iterm2

Oh My Zsh 설치

공식 홈페이지 : https://ohmyz.sh/

curl을 통해 oh-my-zsh 설치

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

wget을 통해 oh-my-zsh 설치

sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Solarized 설치

공식 홈페이지 : https://ethanschoonover.com/solarized/

mkdir $ZSH_CUSTOM/itermcolors

wget https://github.com/altercation/solarized/blob/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors -O $ZSH_CUSTOM/itermcolors/Solarized_Dark-Patched.itermcolors

iTerm2 > Preferences... > Profiles > Profile Name:Default > Colors > Color Presets... > Import... > Solarized Dark

zsh 테마 설정

powerlevel10k 테마 적용

powerlevel10k 다운로드

git clone https://github.com/romkatv/powerlevel10k.git $ZSH/themes/powerlevel10k

powerlevel10k 적용

vim .zshrc
...
ZSH_THEME="powerlevel10k/powerlevel10k"
...

 

728x90