From 0cfc5026b32160501f7d13b668c397a3ddb3df12 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 31 Jan 2025 17:43:12 +0000 Subject: [tmux] Fix terminfo --- home/.config/tmux/tmux.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'home') diff --git a/home/.config/tmux/tmux.conf b/home/.config/tmux/tmux.conf index 41f2b47..b3ebcfb 100644 --- a/home/.config/tmux/tmux.conf +++ b/home/.config/tmux/tmux.conf @@ -43,11 +43,12 @@ bind-key -T copy-mode-vi M-l resize-pane -R 1 set-option -g default-shell $SHELL -set -g default-terminal tmux-256color -# determine if we should enable 256-colour support -if '[ $TERM = st-256color ]' "set -as terminal-overrides ',st*:Tc'" +#set -g default-terminal tmux-256color +#set -sa terminal-overrides ",tmux-256color:Tc" +set -g default-terminal "alacritty" +set-option -sa terminal-overrides ",alacritty*:Tc" ## update the TERM variable of terminal emulator when creating a new session or attaching a existing session -set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM' +set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM COLORTERM' # If you SSH into a host in a tmux window, you'll notice the window title of your terminal emulator remains to be user@localhost rather than user@server. To allow the title bar to adapt to whatever host you connect to, set the following in ~/.tmux.conf set -g set-titles on -- cgit v1.2.3-70-g09d2