aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-01-29 23:47:36 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-01-29 23:47:36 +1300
commit322d1a35bb32991993736067c6235ce679b201aa (patch)
tree5ade535fb6020cf4bf6bad1420e38a0199a224b1 /sh
parentUse full version of :substitute in vimrc (diff)
downloaddotfiles-322d1a35bb32991993736067c6235ce679b201aa.tar.gz
dotfiles-322d1a35bb32991993736067c6235ce679b201aa.zip
Raise error message if .d sh file can't be read
Diffstat (limited to 'sh')
-rw-r--r--sh/profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sh/profile b/sh/profile
index 5059d778..189f456a 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,9 +6,7 @@ fi
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ] ; then
for config in "$HOME"/.profile.d/*.sh ; do
- if [ -r "$config" ] ; then
- . "$config"
- fi
+ . "$config"
done
fi
unset -v config