Outils du site

Que la vie serait belle si tout le monde doutait de tout, si personne n'était sûr de rien. On pourrait supprimer du dictionnaire les trois quarts des mots en \"iste\", fasciste et communiste, monarchiste et gauchiste, khomeyniste et papiste. [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