Setting
[MacOS - M1] m1 맥북에 brew 통해 iterm2 , oh-my-zsh 설치하기
clolee
2022. 8. 29. 12:09
iterm2 설치
https://formulae.brew.sh/cask/iterm2#default
아래 설치 명령어 복사하기
brew install --cask iterm2
command + space 로 Spotlight 실행 후 터미널 실행
터미널에 위에서 복사한 명령어 입력하기
설치 완료
spotlight에서 iterm2 실행
ohmyzsh 설치
https://github.com/ohmyzsh/ohmyzsh
iterm 터미널에 입력해 설치
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
설치 완료
powerlevel10k 테마 설치
https://github.com/romkatv/powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
.zshrc 를 열어 ZSH_THEME을 powerlevel10k로 변경하기
https://github.com/romkatv/powerlevel10k#oh-my-zsh
code .zshrc
.zshrc 저장 후 터미널 다시 실행
설치 완료 후 설정하기
설정 완료
플러그인 설치
zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
.zshrc 수정
플러그인에
zsh-autosuggestions
zsh-syntax-highlighting 추가
code .zshrc