From 7a22972167feab463a27ad92eee2b9f004513205 Mon Sep 17 00:00:00 2001 From: zegonix Date: Sat, 28 Dec 2024 12:20:43 +0100 Subject: [PATCH] fixed sourcing of .bashrc in .bash_profile --- bash-conf-private/.bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bash-conf-private/.bash_profile b/bash-conf-private/.bash_profile index 3aee593..9b64bec 100644 --- a/bash-conf-private/.bash_profile +++ b/bash-conf-private/.bash_profile @@ -2,4 +2,6 @@ # ~/.bash_profile # -source "~/.bashrc" +if [[ -n "$USER" ]]; then + source "/home/$USER/.bashrc" +fi