diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-08-09 18:52:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-08-09 19:06:48 +1200 |
commit | 6f70fa0f130db9d38a01433e5e8ee7b033832163 (patch) | |
tree | b7a026f1274d20d0bd908d6cafa3fe2d6325083e | |
parent | Don't maintain GTK settings anymore (diff) | |
download | dotfiles-6f70fa0f130db9d38a01433e5e8ee7b033832163.tar.gz dotfiles-6f70fa0f130db9d38a01433e5e8ee7b033832163.zip |
Don't update tmux environment at all
Not even DISPLAY or WINDOWID---it's too confusing.
-rw-r--r-- | tmux/tmux.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index e7f088bd..ca4e7172 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,3 +1,15 @@ +# Strip out a lot of machine and X11 dependent crap from the initial +# environment +set-environment -gru DISPLAY +set-environment -gru SSH_CLIENT +set-environment -gru SSH_CONNECTION +set-environment -gru SSH_TTY +set-environment -gru WINDOWID + +# Otherwise, use the environment we had when we started; don't touch it during +# a session unless I specifically ask +set-option -g update-environment 'COLORFGBG COLORTERM' + # Setting this makes each new pane a non-login shell, which suits me better set-option -g default-command "exec $SHELL" |