diff options
Diffstat (limited to 'tmux/tmux.conf.m4')
-rw-r--r-- | tmux/tmux.conf.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4 index a10990c1..9f1aa80f 100644 --- a/tmux/tmux.conf.m4 +++ b/tmux/tmux.conf.m4 @@ -16,8 +16,8 @@ set-environment -gru SHLVL 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" -set-option -g default-shell "/bin/sh" +# Clear away SHLVL again first to stop it getting incremented twice +set-option -g default-command "unset SHLVL ; exec $SHELL" # Expect a 256-color terminal set-option -g default-terminal 'screen-256color' |