update tmux config to work with ssh-agent

This commit is contained in:
2025-08-29 20:59:09 -04:00
parent f10fd88a3f
commit 60f6f96cbd
+6 -3
View File
@@ -12,17 +12,20 @@ setenv -g KITTY_LISTEN_ON $KITTY_LISTEN_ON
set -ag update-environment 'KITTY_LISTEN_ON' set -ag update-environment 'KITTY_LISTEN_ON'
# needed for nvim zen-mode # needed for nvim zen-mode
set-option -g allow-passthrough on set -g allow-passthrough on
set -g escape-time 0 set -g escape-time 0
set -g default-terminal "xterm-256color" set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:Tc,xterm-kitty:Tc,alacritty:Tc" set -ag terminal-overrides "screen-256color,xterm-256color:Tc,xterm-kitty:Tc,alacritty:Tc"
set -g history-limit 150000 set -g history-limit 150000
set -g display-time 2500 set -g display-time 2500
set -g status-interval 10 set -g status-interval 10
set -g focus-events on set -g focus-events on
set -g status-position top set -g status-position top
# SSH agent forwarding
set-environment -g SSH_AUTH_SOCK $SSH_AUTH_SOCK
# activity # activity
set -g monitor-activity off set -g monitor-activity off
set -g visual-activity off set -g visual-activity off