====== 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 -ysh -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
==== References ====
* [[https://velog.io/@kkyungvelyy/Oh-My-Zsh-%EC%9C%88%EB%8F%84%EC%9A%B0%EC%97%90-zsh-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0|Oh My Zsh - 윈도우에 zsh 설치하기]]
* [[https://mulder21c.github.io/2021/01/28/setting-up-wsl-2-dev-env-and-zsh-on-windws-10/|개발환경 WSL2 + zsh로 갈아타기]]