- Install powerline + powerline-gitstatus using
sudo apt install -y powerline powerline-gitstatus
- Download the correct NerdFont (the one your Terminal uses; e.g. UbuntuMono) from https://www.nerdfonts.com/font-downloads and extract to
~/.local/share/fonts
- Rebuild font cache using
fc-cache -fv
- Get trueline script using
wget https://raw.githubusercontent.com/petobens/trueline/master/trueline.sh -P ~/
- Append to
~/.bashrc
:
# Powerline configuration
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1