Installation:

    git clone https://github.com/Leeheng86/shell_cfg.git ~/.rc
    pip install --user git+git://github.com/powerline/powerline

Create symlinks:

    ln -s ~/.rc/bashrc ~/.bashrc; ln -s ~/.rc/profile ~/.profile; ln -s ~/.rc/tmux.conf ~/.tmux.conf

Install fonts:

    open *.otf

Adding or deleting segments by modifying:

On Mac
    vim ~/Library/Python/2.7/lib/python/site-packages/powerline/config_files/themes/tmux/default.json

On Ubuntu
    vim ~/.local/lib/python2.7/site-packages/powerline/config_files/themes/tmux/default.json