Skip to content

Instantly share code, notes, and snippets.

View caigner's full-sized avatar
📖
Learning about tmux, vim and git

Christian Aigner caigner

📖
Learning about tmux, vim and git
  • Austria
View GitHub Profile
@caigner
caigner / gist:c2ea62ff2d6a3966bb8f8524eadc4711
Created January 10, 2019 12:11
tmux in glorious 256 colours
If tmux doesn't display colours the same way as the terminal (xterm in my case) from which you started it,
try this solution. Maybe it works for you.
in .tmux.conf
set -g default-terminal 'screen-256color'
in .bashrc
alias tmux="export TERM=xterm-256color; tmux"