From 1dfc5aae709fe40822460b7a67d9552f02f2900f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 9 Sep 2013 20:06:38 +1200 Subject: Preserve SSH_CLIENT as well as SSH_CONNECTION --- tmux/tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmux') 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 -- cgit v1.2.3