aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index df1f30d8..bf92b261 100644
--- a/sh/profile
+++ b/sh/profile
@@ -16,7 +16,7 @@ export PATH
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ]; then
for config in "$HOME"/.profile.d/*; do
- . "$config"
+ [ -f "$config" ] && . "$config"
done
fi
unset config