From 73d31d2973cfb88999f123cb4519ce2c288d12b9 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 31 Mar 2016 12:09:10 -0500 Subject: [PATCH] added powerline --- .bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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