aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index 6d873c67..2999b119 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,7 +6,9 @@ fi
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ] ; then
for profile in "$HOME"/.profile.d/*.sh ; do
- . "$profile"
+ if [ -e "$profile" ] ; then
+ . "$profile"
+ fi
done
unset -v profile
fi