.sh

Multi-shell dotfiles manager
git clone https://git.torresjrjr.com/.sh.git
Log | Files | Refs | README | LICENSE

commit 2111f2973159cc7775e2d78ae35748c7204a770c
parent 583eadf42a1effdf8dff52ab22c4d2577d2e839a
Author: Byron Torres <b@torresjrjr.com>
Date:   Wed,  2 Mar 2022 00:40:10 +0000

Avoid .profile as tmux login shell

Diffstat:
Msh/.profile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sh/.profile b/sh/.profile @@ -3,6 +3,9 @@ # # Local script for interactive POSIX login sh +# sidestep tmux's invocation of login shells +[ -n "$TMUX" ] && return + ## Env