- Install ZSH
sudo apt-get install git zsh
- Install OhMyZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Install zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
- Edit
~/.zshrc
and replace lineplugins=(git)
withplugins=(git zsh-autosuggestions)
- Create a file
~/.oh-my-zsh/custom/colors.zsh
containingZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=240'
- Install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting