Zsh

De Linuxmemo.

(Différences entre les versions)
("oh-my-zsh")
(Install)
Ligne 2 : Ligne 2 :
==Install==
==Install==
  apt-get install zsh
  apt-get install zsh
 +
chsh -s /bin/zsh
 +
==Config==
==Config==
  ~/.zshrc
  ~/.zshrc

Version du 12 mai 2016 à 14:42

Install

apt-get install zsh
chsh -s /bin/zsh

Config

~/.zshrc

"oh-my-zsh"

.zshrc tout prèt et ultra complet (thèmes, plugins...)

  • url site

http://ohmyz.sh/

  • install
via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Clonage Git dans '/home/user/.oh-my-zsh'...
Looking for an existing zsh config...
Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh
Using the Oh My Zsh template file and adding it to ~/.zshrc
Copying your current PATH and adding it to the end of ~/.zshrc for you.
Time to change your default shell to zsh!
  • Acitivation des Thèmes et des plugins

Via ~/.zshrc

  • liste des thèmes

https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

  • Liste des plugins

https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins

Outils personnels