aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-08-09 19:07:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-08-09 19:07:13 +1200
commit1e4eb01207e83a3a116bf6cf60122d410560243d (patch)
tree2afdbfd704a6eff3b8ddad2a51bb0f1241be03e9
parentDon't update tmux environment at all (diff)
downloaddotfiles-1e4eb01207e83a3a116bf6cf60122d410560243d.tar.gz
dotfiles-1e4eb01207e83a3a116bf6cf60122d410560243d.zip
Restore tmux history to defaults
To coax me out of relying on it.
-rw-r--r--tmux/tmux.conf16
1 files changed, 2 insertions, 14 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index ca4e7172..053921b3 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -1,14 +1,5 @@
-# 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'
+# Don't update the environment from anywhere; too confusing
+set-option -g update-environment ''
# Setting this makes each new pane a non-login shell, which suits me better
set-option -g default-command "exec $SHELL"
@@ -81,9 +72,6 @@ set-option -g base-index 1
# meta and prefer things to be snappier
set-option -g escape-time 0
-# Keep plenty of history
-set-option -g history-limit 100000
-
# Don't interfere with my system clipboard
set-option -g set-clipboard off