aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 11:02:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 11:02:57 +1300
commitc4c851d041c24481be676a12029b69c8129f08fe (patch)
treeab62f0c67f66e24a5d967cbd935126f4f8b76fef /tmux
parentAttempt a much saner approach to managing SHLVL (diff)
downloaddotfiles-c4c851d041c24481be676a12029b69c8129f08fe.tar.gz
dotfiles-c4c851d041c24481be676a12029b69c8129f08fe.zip
Set default-shell to /bin/sh in tmux.conf
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4
index f9f62456..3e2e855f 100644
--- a/tmux/tmux.conf.m4
+++ b/tmux/tmux.conf.m4
@@ -18,6 +18,10 @@ set-option -g update-environment ''
# Setting this makes each new pane a non-login shell, which suits me better
set-option -g default-command "$SHELL"
+# Set the default shell to /bin/sh to parse commands to be just a little bit
+# quicker, and to avoid incrementing SHLVL twice
+set-option -g default-shell "/bin/sh"
+
# Expect a 256-color terminal
set-option -g default-terminal 'screen-256color'