From 6ad4d29954c796a7a535732522b6f890c490d790 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 11 Aug 2015 13:15:32 +0200 Subject: [PATCH] Automatically copy a handful of useful environment variables so you won't loose ssh-agent for example --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 93bb310..f130afb 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -83,6 +83,9 @@ bind C-a last-window # Bigger history set -g history-limit 10000 +# Automatically copy a handful of useful environment variables so you won't loose ssh-agent for example +set -g update-environment -r + # Fix for shift-keys with Fn; needs correct terminfo too setw -g xterm-keys on