Zsh Init


### debian
```typesudo apt install zsh -ysh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10kwget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrcexit```


### Mac
```typesh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10kbrew install wgetwget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrcsh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"zsh```


### redhat
```typesudo yum install zsh git wget -ysudo chsh -s /usr/bin/zshexitsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10kwget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrcexitsh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"```


### add Substring plugin
```typegit clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search# open zshrc# add history-substring-search to pluginsource ~/.zshrc# press ctrl + r```


### WSL
```typechsh -s /bin/zsh```


> [How to change default shell for Linux susbsystem for Windows](https://superuser.com/questions/1110882/how-to-change-default-shell-for-linux-susbsystem-for-windows)

> [zsh-users/zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)

> [romkatv/powerlevel10k](https://github.com/romkatv/powerlevel10k#try-it-out)

> [% (percent sign) showing up while using oh-my-zsh · Issue #2144 · zeit/hyper](https://github.com/zeit/hyper/issues/2144)

> [리눅스에서 터미널 생활 즐기기.](https://black7375.tistory.com/15)

### windows (need to change `zsh.exe` change - remove version number)
> [window에서 Git Bash에 oh my zsh 사용하기](https://velog.io/@ehrbs2021/window%EC%97%90%EC%84%9C-Git-Bash%EC%97%90-oh-my-zsh-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0)






