aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 10:18:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 10:18:13 +1300
commit0a48ef9fc7c78322baef0f04f07cdc5494d88ea4 (patch)
treee2c2e856e335f8a6794335c8ffb67276c9119418 /tmux
parent35433c0f2087eacaa0b40841121fe8594e4e22be (diff)
downloaddotfiles-0a48ef9fc7c78322baef0f04f07cdc5494d88ea4.tar.gz
dotfiles-0a48ef9fc7c78322baef0f04f07cdc5494d88ea4.zip
Attempt a much saner approach to managing SHLVL
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4
index a4af9f8e..f9f62456 100644
--- a/tmux/tmux.conf.m4
+++ b/tmux/tmux.conf.m4
@@ -8,6 +8,9 @@ set-environment -gru SSH_CONNECTION
set-environment -gru SSH_TTY
set-environment -gru WINDOWID
+# Reset SHLVL
+set-environment -gru SHLVL
+
# 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 ''