aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index a329f9b2..0c2b5a14 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -6,9 +6,9 @@ set-environment -gru DISPLAY
# Force the browser to be Lynx in case we inherited a non-null DISPLAY
set-environment -g BROWSER 'lynx'
-# The only environment variable I want tmux to update for me is SSH_CONNECTION,
-# which is occasionally useful
-set-option -g update-environment SSH_CONNECTION
+# The only environment variables I want tmux to update for me are SSH_CLIENT
+# and SSH_CONNECTION, both of which are occasionally useful
+set-option -g update-environment SSH_CLIENT SSH_CONNECTION
# Setting this prevents each new pane being a login shell, purely for
# efficiency reasons; I've not yet encountered a situation where I need tmux to