From 4c17ddc06fe2e4c2b629f29ad853aa0141dcb9e9 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 27 Jun 2020 19:06:27 -0400 Subject: [PATCH] =?UTF-8?q?m=C3=A0j=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ddafed0..b693ebf 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ 2. Modification du .bashrc avec ajout de quelque chose du style : ``` - powerline-daemon -q - POWERLINE_BASH_CONTINUATION=1 - POWERLINE_BASH_SELECT=1 - . /usr/share/powerline/bindings/bash/powerline.sh + if [ -f `which powerline-daemon` ]; then + powerline-daemon -q + POWERLINE_BASH_CONTINUATION=1 + POWERLINE_BASH_SELECT=1 + . /usr/local/lib/python3.8/site-packages/powerline/bindings/bash/powerline.sh + fi ``` 3. Cloner ce dépôt dans ~/.config/, ie @@ -25,4 +27,4 @@ !!!! COMMANDE UTILE pour actualiser la ligne de commande une fois le dépôt cloné (et après modifications aux fichiers de configuration): ``` powerline-daemon --replace -``` \ No newline at end of file +```