]> git.wh0rd.org - home.git/blobdiff - .profile.d/ROOT-bashrc
cros-board: update
[home.git] / .profile.d / ROOT-bashrc
index 771bfd36a0afdcbe1b12bf363cd5ecdf1a07087e..974002e65d9e3c5cdc952f7f662b36d393006a48 100644 (file)
@@ -1,4 +1,6 @@
-for sh in /home/vapier/.profile.d/*.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