màj README

This commit is contained in:
Thomas Briffard 2021-06-24 17:14:21 +02:00
parent 786788928d
commit b758c61084

View File

@ -1,7 +1,7 @@
### Configuration powerline ### Configuration powerline
1. Installation de [powerline](https://powerline.readthedocs.io/en/master/) via gestionnaire de paquet (ou pip, conseillé, mais ne pas installer la version dispo sur pypi, trop vielle, plutôt faire : `pip install git+https://github.com/powerline/powerline.git@develop`) 1. Installation de [powerline](https://powerline.readthedocs.io/en/master/) via pip, mais ne pas installer la version dispo sur pypi, trop vieille, plutôt faire : `pip install git+https://github.com/powerline/powerline.git@develop`)
2. Modification du .bashrc avec ajout de quelque chose du style : 2. Ajout dans .bashrc :
``` ```
if [ -f `which powerline-daemon` ]; then if [ -f `which powerline-daemon` ]; then
@ -11,18 +11,18 @@
. ~/.local/lib/python3.9/site-packages/powerline/bindings/bash/powerline.sh . ~/.local/lib/python3.9/site-packages/powerline/bindings/bash/powerline.sh
fi fi
``` ```
3. Cloner ce dépôt dans ~/.config/, ie 3. Cloner ce dépôt dans ~/.config/,
``` ```
cd ~/.config/\ cd ~/.config/\
git clone https://git.thomasbriffard.com/Briffou/powerline.git git clone https://git.thomasbriffard.com/Briffou/powerline.git
``` ```
4. (facultative) pour masquer l'utilisateur courant, modifier l'option "hide_user" de 4. (facultatif) pour masquer l'utilisateur courant, modifier l'option "hide_user" de
``` ```
.config/powerline/themes/shell/default.json ~/.config/powerline/themes/shell/default.json
``` ```
5. installer l'outil [powerline-gitstatus](https://github.com/jaspernbrouwer/powerline-gitstatus) via gestionnaire de paquet (ou pip) 5. installer l'outil [powerline-gitstatus](https://github.com/jaspernbrouwer/powerline-gitstatus) via pip
!!!! COMMANDE UTILE pour actualiser la ligne de commande une fois le dépôt cloné (et après modifications aux fichiers de configuration): !!!! COMMANDE UTILE pour actualiser la ligne de commande une fois le dépôt cloné (et après modifications aux fichiers de configuration):
``` ```