added powerline

This commit is contained in:
David Thurstenson 2016-03-31 12:09:10 -05:00
parent d964d1d7cb
commit 73d31d2973
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *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. # Don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options # See bash(1) for more options
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth