글꼴 설치
폰트 설치 후 윈도우 설정에서 글꼴 추가
GitHub - romkatv/powerlevel10k: A Zsh theme
A Zsh theme. Contribute to romkatv/powerlevel10k development by creating an account on GitHub.
github.com
zsh 설치
Oh My Zsh - a delightful & open source framework for Zsh
Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout... OH MY ZSH!
ohmyz.sh
sudo apt install zsh
아래 문장을 터미널에서 실행
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
테마 설치
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
설치가 완료되면 ~/.zshrc 파일의 11번째 문장을 아래 문장으로 바꿔주자.
ZSH_THEME="powerlevel10k/powerlevel10k"
저장한 뒤 iTerm에서 다음 명령을 실행
source ~/.zshrc
플러그인 설치
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
.zshrc 파일 수정은 뒤에서 일괄적으로 진행
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
.zshrc 파일 수정은 뒤에서 일괄적으로 진행
.zshrc 파일 수정
vim 에서 /plugin 명령으로 위치 찾아서 아래 문장으로 수정
plugins=(git zsh-autosuggestions zsh-syntax-highlighting web-search)
📍 vs code에서 zsh 터미널을 사용하려면 settings.json 파일에 아래 문장을 추가해줘야 한다.
"terminal.integrated.fontFamily": "MesloLGS NF"
설정 글꼴 제일 앞쪽에 Menlo 추가
'개발 환경' 카테고리의 다른 글
[Linux, Ubuntu] neovim 설치 및 설정 (0) | 2024.05.03 |
---|---|
yabai, skhd 설치 및 설정 (0) | 2023.08.11 |
alias 설정 (0) | 2023.08.04 |
neovim 설치 및 설정 (0) | 2023.08.03 |
iTerm/zsh 설치 및 플러그인 (homebrew) (0) | 2023.08.03 |