From d6134761290fa8be01e79294ce0bb12ad3ac313c Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Tue, 5 May 2026 08:43:49 +0200 Subject: [PATCH] fix: Prevent source .profile multiple times in tmux --- _profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_profile b/_profile index 51478ad..1c63624 100644 --- a/_profile +++ b/_profile @@ -1,3 +1,5 @@ +[ $SHLVL -gt 1 ] && return + # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists.