From 6e4d519c8012d00e99de6bc61528828e9b2b533b Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 6 Apr 2021 23:00:54 -0400 Subject: [PATCH] update-environment for tmux --- .tmux.conf | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index fbdff67..265521d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,14 +1,4 @@ -# Use C-j as secondary prefix key -set -g prefix2 C-j - -# Send C-j when C-j C-j is pressed -bind-key C-j send-prefix -2 - -set -g default-terminal screen-256color - -# Use vi-style key bindings in view-mode, tree-mode, etc. -#set -g mode-keys vi - -# enable activity alerts -setw -g monitor-activity on -set -g visual-activity on +#set -g default-terminal screen-256color +set-option -g update-environment "SSH_AUTH_SOCK \ + SSH_CONNECTION \ + DISPLAY"