aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 11:41:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 11:41:30 +1300
commite3350991d4e978e86d41eaa55f15e48f9cd224f6 (patch)
treeb9c0889fdb8ce017bba04e0813f07f9b05e5f03a /tmux
parent448a4219b04a5a803f8798bfa539d13124b02c4c (diff)
downloaddotfiles-e3350991d4e978e86d41eaa55f15e48f9cd224f6.tar.gz
dotfiles-e3350991d4e978e86d41eaa55f15e48f9cd224f6.zip
Restore half-fix and note
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4
index a4af9f8e..7b3fff51 100644
--- a/tmux/tmux.conf.m4
+++ b/tmux/tmux.conf.m4
@@ -8,6 +8,11 @@ set-environment -gru SSH_CONNECTION
set-environment -gru SSH_TTY
set-environment -gru WINDOWID
+# Reset SHLVL
+# This doesn't work quite right yet; if your SHELL is something that increments
+# SHLVL, it gets incremented twice; need to figure out a clean solution to this
+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 ''