From 61cf8ad5fb4fe5e49fd83c96d10cfbfc2563dc96 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sat, 27 Jul 2024 03:52:35 +0200 Subject: [PATCH] tmux: use non-login shells --- config/tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 9ed2f55..303d788 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -71,6 +71,9 @@ setw -g automatic-rename on # automatically rename windows setw -g mouse on # enable mouse support setw -g pane-base-index 1 # start pane numbering from 1 +# Start non-login shells for new panes/windows. +# https://wiki.archlinux.org/title/Tmux#Start_a_non-login_shell +set -g default-command "${SHELL}" # Set $TERM, force 256 colors, and enable italics. # https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal