aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-09 20:06:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-09 20:06:38 +1200
commit1dfc5aae709fe40822460b7a67d9552f02f2900f (patch)
treebada6ef80da561ea9cbdd8355f9753db667ddb2a /tmux/tmux.conf
parentUse fenced code blocks (diff)
downloaddotfiles-1dfc5aae709fe40822460b7a67d9552f02f2900f.tar.gz
dotfiles-1dfc5aae709fe40822460b7a67d9552f02f2900f.zip
Preserve SSH_CLIENT as well as SSH_CONNECTION
Diffstat (limited to 'tmux/tmux.conf')
-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