From: Mike Frysinger Date: Wed, 4 May 2022 13:43:55 +0000 (-0400) Subject: bashrc: activate for me only X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9f79509b543fb14621f3d575587bfde99fec9103;p=home.git bashrc: activate for me only --- diff --git a/.profile.d/ROOT-bashrc b/.profile.d/ROOT-bashrc index 0a8e355..974002e 100644 --- a/.profile.d/ROOT-bashrc +++ b/.profile.d/ROOT-bashrc @@ -1,4 +1,6 @@ -for sh in ~vapier/.profile.d/{.pre,*,.post}.sh ; do - . "$sh" -done -unset sh +if [[ "${SUDO_USER}" == "vapier" ]] ; then + for sh in ~vapier/.profile.d/{.pre,*,.post}.sh ; do + . "$sh" + done + unset sh +fi