From f4012c9c1bdfa6fda187dc943c408f69f5aedb0e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 25 Jun 2015 11:36:04 +0100 Subject: Add code snippets for good tmux colors --- tmux.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index 98127fa..989a487 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,4 +1,7 @@ # set -g default-terminal "screen-256color" +set -g default-terminal screen +if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color' + set -g mode-mouse on set -g mouse-resize-pane on set -g mouse-select-pane on -- cgit v1.2.3