- Install package
$ sudo apt install zsh
- Set zsh as a default shell
$ chsh -s $(which zsh)
- Install oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Check that
- your shell set to zsh:
grep $USER /etc/passwd
- zsh is a valid login shell:
grep zsh /etc/shells
- If all is OK, restart your session.
- Check settings
$ vim ~/.zshrc
and add plugins to an array
plugins=(git rails rvm virtualenv docker)
- Install zsh-syntax-highlighting plugin
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
- Install zsh-autosuggestions plugin
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
- Common aliases:
$ alias
- Rails aliases
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/rails