# zsh
### [Install zsh on Ubuntu or Debian](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH#install-and-set-up-zsh-as-default)
```bash
# Install zsh
sudo apt install -y zsh
# Confirm installation
zsh --version
# Set zsh as default
chsh -s $(which zsh)
# Log out and in. It may ask whether to generate a .zshrc.
# Choose option 2 (recommended configuration) -
# it will be overwritten later
exit
# Confirm zsh is set as default shell
echo $SHELL
> /usr/bin/zsh
```
### Install zsh on macOS
No steps needed, zsh is already the default shell as of macOS 10.15+ (see [article](https://www.theverge.com/2019/6/4/18651872/apple-macos-catalina-zsh-bash-shell-replacement-features) and [Stack Overflow answer](https://apple.stackexchange.com/a/88296))
Usage of zsh can be confirmed with
```bash
echo $0
```
## Bindings
### About
About bindings: Ctrl+f `Bindings with the meta key` in
https://zsh.sourceforge.io/Guide/zshguide04.html
### Unset all bindings from [[Oh My Zsh]], readd only the ones I use
- [ ] TODO