diff --git a/.bashrc b/.bashrc index 4c09c83..e0332ef 100644 --- a/.bashrc +++ b/.bashrc @@ -8,6 +8,14 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +# Use powerline if it's installed +if [[ -s /usr/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh ]];then + powerline-daemon -q + POWERLINE_BASH_CONTINUATION=1 + POWERLINE_BASH_SELECT=1 + . /usr/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh +fi + # Don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth