From 80e4643bbdbd8813d656919a6237337e1efba682 Mon Sep 17 00:00:00 2001 From: masterzu Date: Wed, 12 Dec 2018 10:33:25 +0100 Subject: [PATCH] tmux: add automatic update for ssh-agent with remote attach --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 4e099db..2080809 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -25,3 +25,5 @@ bind C-a last-pane # reload this file bind r source-file /home/patrick/.tmux.conf \; display-message ".tmux.conf reloaded" +# automatic update env for ssh-agent +set-option -g update-environment SSH_AUTH_SOCK