From 66117d1341287163cad65541ec9aa222eabc1091 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 7 Feb 2023 08:54:50 +0100 Subject: [PATCH] tmux 256 color support --- home/.tmux-server.conf | 3 +++ home/.tmux.conf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/home/.tmux-server.conf b/home/.tmux-server.conf index 3d44bba..963005b 100644 --- a/home/.tmux-server.conf +++ b/home/.tmux-server.conf @@ -94,6 +94,9 @@ is_shell="ps -o state= -o comm= -t '#{pane_tty}' \ unbind C-l # Default for go to last window bind -n C-l if-shell "$is_shell" "bind -n C-l send-keys C-l ; run 'sleep 0.1' ; clear-history" +# use all colors +set -g default-terminal "screen-256color" + # theming, See https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-dark.conf #### COLOUR (Solarized dark) diff --git a/home/.tmux.conf b/home/.tmux.conf index cd59e39..b537333 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -97,6 +97,9 @@ is_shell="ps -o state= -o comm= -t '#{pane_tty}' \ unbind C-l # Default for go to last window bind -n C-l if-shell "$is_shell" "bind -n C-l send-keys C-l ; run 'sleep 0.1' ; clear-history" +# use all colors +set -g default-terminal "screen-256color" + # theming, See https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-dark.conf #### COLOUR (Solarized dark)