{"id":121,"date":"2021-07-07T11:20:36","date_gmt":"2021-07-07T09:20:36","guid":{"rendered":"https:\/\/lrhome.ddns.net\/renault\/?p=121"},"modified":"2024-05-22T14:14:09","modified_gmt":"2024-05-22T12:14:09","slug":"powerline-pour-un-terminal-plus-sympa-et-pratique","status":"publish","type":"post","link":"https:\/\/lrhome.ddns.net\/renault\/2021\/07\/07\/powerline-pour-un-terminal-plus-sympa-et-pratique\/","title":{"rendered":"Powerline : Pour un terminal plus sympa et pratique"},"content":{"rendered":"<p>====Installation====<\/p>\n<div class=\"ezoeItemCustomTag console\">\n<p>apt install python-pip<br \/>\npip install powerline-status<br \/>\napt install fonts-powerline<\/p>\n<\/div>\n<p>====Configuration dans .bashrc====<\/p>\n<div class=\"ezoeItemCustomTag code\">\n<p># Powerline<br \/>\nif [ -f `which powerline-daemon` ]; then<br \/>\npowerline-daemon -q<br \/>\nPOWERLINE_BASH_CONTINUATION=1<br \/>\nPOWERLINE_BASH_SELECT=1<br \/>\nfi<\/p>\n<\/div>\n<div class=\"ezoeItemCustomTag code\">\n<p>if [ -f \/usr\/local\/lib\/python2.7\/dist-packages\/powerline\/bindings\/bash\/powerline.sh ]; then<br \/>\nsource \/usr\/local\/lib\/python2.7\/dist-packages\/powerline\/bindings\/bash\/powerline.sh<br \/>\nfi<\/p>\n<p>====Lien====<\/p>\n<\/div>\n<p>Voici la <a href=\"https:\/\/powerline.readthedocs.io\/en\/master\/usage\/shell-prompts.html\">doc<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>====Installation==== apt install python-pip pip install powerline-status apt install fonts-powerline ====Configuration dans .bashrc==== # Powerline if [ -f `which powerline-daemon` ]; then powerline-daemon -q POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_SELECT=1 fi if [ -f \/usr\/local\/lib\/python2.7\/dist-packages\/powerline\/bindings\/bash\/powerline.sh ]; then source \/usr\/local\/lib\/python2.7\/dist-packages\/powerline\/bindings\/bash\/powerline.sh fi ====Lien==== Voici la doc<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":2,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/posts\/121\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrhome.ddns.net\/renault\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}