Windows Terminal 사용
- Windows Store에 가면 Terminal이 따로 있는데 기능이 추가된 버전이니 사용해보자
WSL 설치
- Powershell에서 실행
- 실행 후 재부팅
wsl.exe --install- 원하는 배포판 확인
wsl.exe --list --online- 설치
wsl.exe --install -d Ubuntu-24.04
이름, 패스워드 등 설정 후
패키지 미러 주소 변경
sudo sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list.d/ubuntu.sources
패키지 업데이트 + 업그레이드 + 자동제거
sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove
ZSH 설치 및 Oh-My-Zsh 설치
- shell의 종류로 간편하고 커스텀이 자유로움
sudo apt -y install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
.zshrc 편집 (Customizing + Plugin)
- Syntax Highlight 플러그인 설치
git clone https://github.com/zsh-users/zsh-syntax-hightlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting - Autosuggestions 플러그인 설치
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions - Powerline 폰트 설치
sudo apt install fonts-powerlinesudo nano ~/.zshrc- Theme 설정 (agnoster 사용)
export ZSH_THEME="agnoster" - 플러그인 적용 (git 뒤에 추가)
plugins( git zsh-syntax-highlighting zsh-autosuggestions )
- Theme 설정 (agnoster 사용)
- 적용
source ~/.zshrc