aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 09:16:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 09:16:23 +1200
commit5159c7489070ef212e2ac2840796f18109fbaf44 (patch)
treec37abdf928b4cd68a5a0ae18c894d31fc9fb1cbd
parentMerge branch 'release/v12.13.0' into develop (diff)
downloaddotfiles-5159c7489070ef212e2ac2840796f18109fbaf44.tar.gz
dotfiles-5159c7489070ef212e2ac2840796f18109fbaf44.zip
Explicitly fork for new tmux windows
I think Bash might have some handling magic that avoids a forked process, but best to be explicit about this sort of thing.
-rw-r--r--tmux/tmux.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 4410fe0e..ca4e7172 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -11,7 +11,7 @@ set-environment -gru WINDOWID
set-option -g update-environment 'COLORFGBG COLORTERM'
# Setting this makes each new pane a non-login shell, which suits me better
-set-option -g default-command "$SHELL"
+set-option -g default-command "exec $SHELL"
# Expect a 256-color terminal
set-option -g default-terminal 'screen-256color'