From 60f6f96cbd814e3e6becfc5ba632cf9fa55912ff Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Fri, 29 Aug 2025 20:59:09 -0400 Subject: [PATCH] update tmux config to work with ssh-agent --- .config/tmux/tmux.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 2f1d601..efd49a3 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -12,17 +12,20 @@ setenv -g KITTY_LISTEN_ON $KITTY_LISTEN_ON set -ag update-environment 'KITTY_LISTEN_ON' # needed for nvim zen-mode -set-option -g allow-passthrough on +set -g allow-passthrough on set -g escape-time 0 -set -g default-terminal "xterm-256color" -set -ag terminal-overrides ",xterm-256color:Tc,xterm-kitty:Tc,alacritty:Tc" +set -g default-terminal "tmux-256color" +set -ag terminal-overrides "screen-256color,xterm-256color:Tc,xterm-kitty:Tc,alacritty:Tc" set -g history-limit 150000 set -g display-time 2500 set -g status-interval 10 set -g focus-events on set -g status-position top +# SSH agent forwarding +set-environment -g SSH_AUTH_SOCK $SSH_AUTH_SOCK + # activity set -g monitor-activity off set -g visual-activity off