zsh
Oh My Zsh on MS Windows
- Windows Subsytem Linux(WSL) 활성화
- ubuntu 20.04 설치
- Windows 터미널 설치
- Windows Terminal에서 ubuntu 열기
- On Linux
sudo apt update
sudo apt upgrade -y
- zsh 설치
sudo api install zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- zsh 플러그인 설치
- zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- fonts-powerline
sudo apt-get install fonts-powerline
- 플러그인 추가
vi ~/.zshrc ... plugins=( git zsh-syntax-highlighting zsh-autosuggestions ) ...
- zsh 테마 변경
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc