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 33c5cc11..17a93772 100644
--- a/sh/profile
+++ b/sh/profile
@@ -7,7 +7,9 @@ export PATH
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ]; then
for config in "$HOME"/.profile.d/*.sh; do
- [ -r "$config" ] && . "$config"
+ if [ -r "$config" ]; then
+ . "$config"
+ fi
done
fi
unset -v config