Powerline and Centos 7

bash

# I like vi keybindings. You may not.
set -o vi
# if powerline is installed, then use it
command -v powerline-daemon &>/dev/null
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh
bash/powerline.sh

tmux

vim

~/.vimrc

set laststatus=2 " Always display the statusline in all windows
set showtabline=2 " Always display the tabline, even if there is only one tab
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup