Outils du site

Si tu avances, tu meurs. Si tu recules, tu meurs. Alors pourquoi reculer ? [Devise zoulou]

04-linux:24-zsh

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
04-linux:24-zsh [2019/08/23 17:42] Roge04-linux:24-zsh [2019/08/24 01:10] (Version actuelle) – [zsh] Roge
Ligne 2: Ligne 2:
  
 cf. https://dev.to/mskian/install-z-shell-oh-my-zsh-on-ubuntu-1804-lts-4cm4 cf. https://dev.to/mskian/install-z-shell-oh-my-zsh-on-ubuntu-1804-lts-4cm4
 +
 +http://grml.org/zsh/zsh-lovers.html
 +
  
 ===== Install ===== ===== Install =====
Ligne 19: Ligne 22:
 # Create a New ZSH configuration file # Create a New ZSH configuration file
 cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 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> </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:42