]> git.wh0rd.org - home.git/blobdiff - .profile.d/ROOT-bashrc
bashrc: activate for me only
[home.git] / .profile.d / ROOT-bashrc
index 0a8e355d248ee7016975bc835bc2518ce4a23d7b..974002e65d9e3c5cdc952f7f662b36d393006a48 100644 (file)
@@ -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