Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
04-linux:24-zsh [2019/08/23 17:38] – créée Roge | 04-linux:24-zsh [2019/08/24 01:10] (Version actuelle) – [zsh] Roge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== zsh ====== | ====== zsh ====== | ||
+ | |||
+ | cf. https:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | |||
+ | ===== Install ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt update | ||
+ | sudo apt upgrade | ||
+ | |||
+ | sudo apt install zsh powerline fonts-powerline | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Config ===== | ||
+ | |||
+ | <code bash> | ||
+ | git clone https:// | ||
+ | # Create a New ZSH configuration file | ||
+ | cp ~/ | ||
+ | |||
+ | # Clone the ZSH Syntax Highlighting | ||
+ | https:// | ||
+ | # Use the ZSH Syntax Highlighting | ||
+ | echo " | ||
+ | |||
+ | # Change the default shell | ||
+ | chsh -s /bin/zsh | ||
+ | # Back to bash | ||
+ | chsh -s /bin/bash | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Oh My ZSH ===== | ||
+ | |||
+ | To install Oh My ZSH, simply run | ||
+ | |||
+ | <code bash> | ||
+ | curl -L https:// | ||
+ | </ | ||