From aed9e65c447164bf14b39c4d507255829401f87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 30 Jun 2022 22:04:43 +0200 Subject: [PATCH] Fix colors in tmux --- tmux/tmux.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 5a1915c..0b72ce1 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,5 +1,7 @@ set -g default-command "${SHELL}" -set -g default-terminal "xterm-256color" +# This *has* to be set to something with `screen-`, do not set this bindly +# to $TERM, e.g. "alacritty"! +set -g default-terminal "screen-256color" set -g set-titles on set -g set-titles-string '#S' @@ -38,6 +40,9 @@ set-window-option -g pane-base-index 1 set -g status-position bottom set -g status-justify left +# https://wiki.archlinux.org/title/tmux#256_colors +set -ga terminal-overrides ",alacritty:Tc" + setw -g pane-border-status bottom setw -g pane-border-format ''