Outils du site

Il y a une coutume du spectacle qui me gonfle singulièrement, c'est les rappels. C'est totalement absurde, les rappels. Enfin, écoutez, dans la vie normale, dans la vie courante, quand un mec a fini son boulot, qu'est-ce quil fait ? Il ne revient pas, il dit au revoir, et il s'en va. Enfin, on n'imagine pas un plombier, re-sonnant la porte, après avoir réparé une fuite, juste pour refiler un petit coup de clé de douze. [Pierre Desproges]

04-linux:24-zsh

Ceci est une ancienne révision du document !


zsh

Install

sudo apt update
sudo apt upgrade

sudo apt install zsh powerline fonts-powerline

Config

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

Oh My ZSH

To install Oh My ZSH, simply run

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Dernière modification : 2019/08/23 21:01