diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-09 20:06:38 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-09 20:06:38 +1200 |
commit | 1dfc5aae709fe40822460b7a67d9552f02f2900f (patch) | |
tree | bada6ef80da561ea9cbdd8355f9753db667ddb2a /tmux | |
parent | Use fenced code blocks (diff) | |
download | dotfiles-1dfc5aae709fe40822460b7a67d9552f02f2900f.tar.gz dotfiles-1dfc5aae709fe40822460b7a67d9552f02f2900f.zip |
Preserve SSH_CLIENT as well as SSH_CONNECTION
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/tmux.conf | 6 |
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 |