Add tiny inline diagnostics and fix $TERM in tmux and alacritty to

alacritty instead of xterm-256color
This commit is contained in:
Martin Larsson 2024-10-24 19:09:31 +02:00
parent 8744c577ae
commit 6c605b47c2
3 changed files with 14 additions and 3 deletions

View file

@ -66,10 +66,13 @@ bind-key -n M-C source-file ~/.tmux.conf \; display-message "Config reloaded"
# Set the default terminal to support 256 colors
set -g default-terminal "screen-256color"
set -g default-terminal "alacritty"
# Ensure tmux uses true color
set-option -ga terminal-features 'xterm-256color:RGB'
set-option -ga terminal-overrides ',xterm-256color:Tc'
# set-option -ga terminal-features 'xterm-256color:RGB'
# set-option -ga terminal-overrides ',xterm-256color:Tc'
set-option -ga terminal-features 'alacritty:RGB'
set-option -ga terminal-overrides ',alacritty:Tc'
# Make sure that the index of windows and panes starts at 1
set -g base-index 1