aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:16:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:16:16 +1300
commitea5d2c2aa0066934e782d022358b66808f38f0ba (patch)
tree8479187ecd973c01ecfa2b9f7bf100581047e673 /tmux
parentOK, I'm pretty sure this is the reight arrangement (diff)
downloaddotfiles-ea5d2c2aa0066934e782d022358b66808f38f0ba.tar.gz
dotfiles-ea5d2c2aa0066934e782d022358b66808f38f0ba.zip
Don't use /bin/sh
It sets $SHELL for me inappropriately
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf.m44
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'