Skip to content

Instantly share code, notes, and snippets.

@mcgivrer
Last active March 16, 2022 23:22
Show Gist options
  • Save mcgivrer/63415530034a2a6f4cc968862c3d9e9d to your computer and use it in GitHub Desktop.
Save mcgivrer/63415530034a2a6f4cc968862c3d9e9d to your computer and use it in GitHub Desktop.
Powerline and tmux

Powerline and Tmux on Ubuntu

  1. Install Powerline

(from https://www.ricalo.com/blog/install-powerline-ubuntu/#install-powerline)

sudo apt install powerline

activate is by pasting in the ~/.bashrc :

# Powerline configuration
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  source /usr/share/powerline/bindings/bash/powerline.sh
fi
  1. Install tmux

(from https://bobbyhadz.com/blog/tmux-powerline-ubuntu)

sudo apt install tmux

then activate powerline over tmux by adding the following line in your ~/.tmux.conf file:

runshell 'powerline-config tmux setup'
  1. and finally
tmux

then :

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment