diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 12:16:16 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 12:16:16 +1300 |
commit | ea5d2c2aa0066934e782d022358b66808f38f0ba (patch) | |
tree | 8479187ecd973c01ecfa2b9f7bf100581047e673 | |
parent | OK, I'm pretty sure this is the reight arrangement (diff) | |
download | dotfiles-ea5d2c2aa0066934e782d022358b66808f38f0ba.tar.gz dotfiles-ea5d2c2aa0066934e782d022358b66808f38f0ba.zip |
Don't use /bin/sh
It sets $SHELL for me inappropriately
-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' |