path: root/tmux
diff options
authorTom Ryder <tom@sanctum.geek.nz>2017-01-24 17:25:24 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-24 17:25:24 +1300
commita9c7669e1d9e1e16bde23a0f51ccd1c573d037de (patch)
tree0e61b06b6af21af9f89bdd761e69ebd183fff3f4 /tmux
parentWork around trailing newlines in vr() (diff)
Remove SHLVL nested shell feature for now
Causes a bit too much curliness in configuration; may need a more comprehensive approach.
Diffstat (limited to 'tmux')
1 files changed, 1 insertions, 5 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4
index 9f1aa80f..a4af9f8e 100644
--- a/tmux/tmux.conf.m4
+++ b/tmux/tmux.conf.m4
@@ -8,16 +8,12 @@ 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 ''
# Setting this makes each new pane a non-login shell, which suits me better
-# Clear away SHLVL again first to stop it getting incremented twice
-set-option -g default-command "unset SHLVL ; exec $SHELL"
+set-option -g default-command "$SHELL"
# Expect a 256-color terminal
set-option -g default-terminal 'screen-256color'