From 181cd5d1121515534b9ae35b68f7eb82987ede74 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Wed, 21 Sep 2022 10:15:01 -0700 Subject: [PATCH] Source ~/.profile if present --- src/.bash_profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/.bash_profile b/src/.bash_profile index 079649c..7d100e2 100755 --- a/src/.bash_profile +++ b/src/.bash_profile @@ -1,5 +1,11 @@ #!/usr/bin/env bash +# source ~/.profile if it exists +if [ -f ~/.profile ]; then + # shellcheck disable=SC1090 + . ~/.profile +fi + ### environment vars # Ensure $HOME/.bin exists, add it to PATH mkdir -vp "$HOME/.bin"