aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/files/root/bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'roles/users/files/root/bash_profile')
-rw-r--r--roles/users/files/root/bash_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/users/files/root/bash_profile b/roles/users/files/root/bash_profile
new file mode 100644
index 0000000..457213b
--- /dev/null
+++ b/roles/users/files/root/bash_profile
@@ -0,0 +1,5 @@
+if [[ -n "$SUDO_USER" && -f "/home/$SUDO_USER/.bashrc_root" ]]; then
+ . "/home/$SUDO_USER/.bashrc_root"
+else
+ . "$HOME/.bashrc"
+fi