From c508d4c98b31dd86f449eda6d521fe6537ccc70c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 4 May 2022 09:13:47 -0400 Subject: [PATCH] bash_profile: skip bashrc on non-interactive terminals --- .profile.d/ROOT-bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.profile.d/ROOT-bash_profile b/.profile.d/ROOT-bash_profile index d1fb79b..178d748 100644 --- a/.profile.d/ROOT-bash_profile +++ b/.profile.d/ROOT-bash_profile @@ -1 +1,3 @@ -. ~/.bashrc +case $- in +*i*) . ~/.bashrc ;; +esac -- 2.39.5