Fix colors in tmux

This commit is contained in:
2022-06-30 22:04:43 +02:00
parent a71942a69e
commit aed9e65c44

View File

@@ -1,5 +1,7 @@
set -g default-command "${SHELL}" 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 on
set -g set-titles-string '#S' 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-position bottom
set -g status-justify left 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-status bottom
setw -g pane-border-format '' setw -g pane-border-format ''