aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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