From e7b9fe02c9ab20a2ab4a16907726ddfad189165e Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Sun, 17 Mar 2019 04:20:53 +0100 Subject: [PATCH] Enable support for 256 colors by default. Closes #2 --- templates/tmux.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/tmux.conf.j2 b/templates/tmux.conf.j2 index af14dae..fc4a250 100644 --- a/templates/tmux.conf.j2 +++ b/templates/tmux.conf.j2 @@ -51,6 +51,9 @@ set-option -g history-limit 8192 set -g base-index 1 setw -g pane-base-index 1 +# Support 256 colors +set -g default-terminal "screen-256color" + # Activate Powerline. We assume that the most recent version supported in Debian's powerline package is the most recent version of tmux shipped in Debian. Powerline has it's own config... {% if ansible_distribution == "Debian" or ansible_distribution == "Ubuntu" %} source '/usr/share/powerline/bindings/tmux/powerline.conf'