===== Install =====
sudo pip3 install git+git://github.com/Lokaltog/powerline
sudo pip3 install psutil
===== Setup =====
==== Bash ====
cp -r /usr/local/lib/python3.7/site-packages/powerline/config_files/* .
sudo vim /etc/bash.bashrc
## Powerline
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/local/lib/python3.7/site-packages/powerline/bindings/bash/powerline.sh
fi
sudo apt-get install fonts-powerline
or
cd ~
cd ./src
git clone https://github.com/powerline/fonts.git --depth=1 powerline-fonts
cd powerline-fonts
./install.sh
# When it comes to choosing a font for powerline, I recommend firstly previewing them in an application called font-manager
sudo apt install font-manager
==== Vim ====
sudo vim /etc/vim/vimrc.local
set rtp+=/usr/local/lib/python2.7/site-packages/powerline/bindings/vim/
set laststatus=2
set t_Co=256
In the Terminal app, select your font. Seem I like Noto Mono for Powerline Regular size 10
==== tmux ====
# powerline-config tmux setup
vim ./.tmux.conf
source /usr/local/lib/python3.7/dist-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"
tmux source-file ~/.tmux.conf # Run this after you changed your color settings for it to update
tmux kill-server # You need to restart tmux entirely after changing .tmux.conf.