aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2025-01-31 17:43:12 +0000
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2025-01-31 17:56:10 +0000
commit0cfc5026b32160501f7d13b668c397a3ddb3df12 (patch)
tree9eb79bd0a0813271c9ffb9febb608d86c3a8d5d2 /home
parent849dac83d535883f465bf1a1a47d41b98112638e (diff)
downloaddotfiles-0cfc5026b32160501f7d13b668c397a3ddb3df12.tar.gz
dotfiles-0cfc5026b32160501f7d13b668c397a3ddb3df12.tar.bz2
dotfiles-0cfc5026b32160501f7d13b668c397a3ddb3df12.zip
[tmux] Fix terminfo
Diffstat (limited to 'home')
-rw-r--r--home/.config/tmux/tmux.conf9
1 files changed, 5 insertions, 4 deletions
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