commit c049a8cd985742266a2d24c52bb5e9d4293403ad
parent d254ee0688200c31bdf930130d0dd5e04dc561d4
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 2 Dec 2021 18:04:21 +0100
tmux: fix colors
Diffstat:
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf
@@ -3,11 +3,11 @@
# "set" == "set-option"
set -g history-limit 30000
set -g mouse on
-set -g terminal-overrides 'xterm*:smcup@:rmcup@'
-set-option -ga terminal-overrides ",xterm-256color:Tc"
+# terminal-overrides works based on $TERM outside of tmux
+set -g terminal-overrides 'xterm-256color:Tc:smcup@:rmcup@,st-256color:Tc:smcup@:rmcup@'
set -g default-command $SHELL
set -g default-shell $SHELL
-set -g default-terminal "xterm-256color"
+set -g default-terminal $TERM
set -g pane-active-border-style fg='#f59970'
set -g set-titles on
set -g set-titles-string '#H:#S.#I.#P #W #T'
diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf
@@ -3,11 +3,10 @@
# "set" == "set-option"
set -g history-limit 30000
set -g mouse on
-set -g terminal-overrides 'xterm*:smcup@:rmcup@'
-set-option -ga terminal-overrides ",xterm-256color:Tc"
+set -g terminal-overrides 'xterm-256color:Tc:smcup@:rmcup@,st-256color:Tc:smcup@:rmcup@'
set -g default-command $SHELL
set -g default-shell $SHELL
-set -g default-terminal "xterm-256color"
+set -g default-terminal $TERM
set -g pane-active-border-style fg=#ff5500
set -g pane-border-style fg=#a4a4a4
set -g set-titles on