]> git.wh0rd.org Git - home.git/commitdiff
bash_profile: skip bashrc on non-interactive terminals
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 May 2022 13:13:47 +0000 (09:13 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 4 May 2022 13:13:47 +0000 (09:13 -0400)
.profile.d/ROOT-bash_profile

index d1fb79b19cd44dddc744533d8f5a4868f8ce52f2..178d748ba69e61a17aa877a63382a22222f9698b 100644 (file)
@@ -1 +1,3 @@
-. ~/.bashrc
+case $- in
+*i*) . ~/.bashrc ;;
+esac