From cacd19eac9353f070a130040e8ff96f66637e3d9 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 11 Dec 2017 10:46:22 -0500 Subject: tmux: disable 'update-environment' --- dot/tmux.stage2.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot/tmux.stage2.conf') diff --git a/dot/tmux.stage2.conf b/dot/tmux.stage2.conf index 3b14224..34a2fa1 100644 --- a/dot/tmux.stage2.conf +++ b/dot/tmux.stage2.conf @@ -1,3 +1,8 @@ +# disable a dubious "feature" where remotely logging in and attaching to the +# existing session causes tmux to remove the $DISPLAY variable from future new +# windows (even after the remote user is no longer attached!) +set -g update-environment "" + # use UTF8 set -q -g utf8 set-window-option -q -g utf8 on -- cgit v1.2.3