Outils du site

Dans un régime fasciste, on n'apprend pas \"je suis, tu es\" mais \"je hais, tu suis\". [Marc Escayrol]

04-linux:24-zsh

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
04-linux:24-zsh [2019/08/23 17:38] – créée Roge04-linux:24-zsh [2019/08/24 01:10] (Version actuelle) – [zsh] Roge
Ligne 1: Ligne 1:
 ====== zsh ====== ====== zsh ======
 +
 +cf. https://dev.to/mskian/install-z-shell-oh-my-zsh-on-ubuntu-1804-lts-4cm4
 +
 +http://grml.org/zsh/zsh-lovers.html
 +
 +
 +===== Install =====
 +
 +<code bash>
 +sudo apt update
 +sudo apt upgrade
 +
 +sudo apt install zsh powerline fonts-powerline
 +</code>
 +
 +
 +===== Config =====
 +
 +<code bash>
 +git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
 +# Create a New ZSH configuration file
 +cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
 +
 +# Clone the ZSH Syntax Highlighting
 +https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1
 +# Use the ZSH Syntax Highlighting
 +echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"
 +
 +# Change the default shell
 +chsh -s /bin/zsh
 +# Back to bash
 +chsh -s /bin/bash
 +
 +</code>
 +
 +
 +===== Oh My ZSH =====
 +
 +To install Oh My ZSH, simply run
 +
 +<code bash>
 +curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
 +</code>
  
Dernière modification : 2019/08/23 17:38