aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-06-20 01:44:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-06-20 01:44:44 +1200
commitf96d9fe6ec187ef645c1aedd7d6fa783f32f6d3d (patch)
tree7776dd98802d16dfcc80873646f280d5903579a9 /tmux
parentAnother unneeded environment variable (diff)
downloaddotfiles-f96d9fe6ec187ef645c1aedd7d6fa783f32f6d3d.tar.gz
dotfiles-f96d9fe6ec187ef645c1aedd7d6fa783f32f6d3d.zip
Nix DISPLAY, otherwise don't change environment
I use PuTTY a lot from work machines, so having $DISPLAY update is actually more trouble than it's worth. It's better if I keep the tmux session as terminal-only land.
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 89fac8ab..b5ab8bbb 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -1,3 +1,7 @@
+# Environment
+set-environment -gru DISPLAY
+set-option -g update-environment ''
+
# Prefix
unbind-key C-b
set-option -g prefix C-a