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 +```