Installation de ZSH et OhMyZSH sous Linux
Prérequis
Nécéssaires avant installation
- Mise à jour des repositories apt
sudo apt update && sudo apt upgrade
Installation
- Changement de shell par défaut
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions
- Modification des configurations .zshrc : thème agnoster et ajout des plugins
ZSH_THEME="agnoster"
plugins=(last-working-dir git zsh-autosuggestions zsh-syntax-highlighting zsh-completions)
- Installer la font du thème
sudo apt-get install fonts-powerline
- Activation de la modification des configurations