# ZSH Configuration
## Oh My Zsh
[oh my zsh](https://github.com/ohmyzsh/ohmyzsh) is a tool allows you to easily add themes and plugins to zsh. Install it using
```sh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```
To install the PowerLevel10K theme run
```sh
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
```
And change the `ZSH_THEME` environment variable in `.zshrc` to
`powerlevel10k/powerlevel10k`
To rerun configuration run `p10k configure`.
The font compatible with the theme is `MesloLGS NF`.
### Plugins
Load plugins by changing the `plugins` environment variable in `.zshrc`.
e.g.: `plugins=(git zsh-autosuggestions zsh-syntax-highlighting)`
- Autosuggestions
`git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions`
- Syntax highlighting
`git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting`
## Sources
- https://www.josean.com/posts/terminal-setup and https://www.youtube.com/watch?v=CF1tMjvHDRA