aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:55:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:55:20 +1300
commit259ce7813e12af1218a12b8b3c16ccef03e85108 (patch)
treea9b6ad8ea1e2c9153baa2841cfd5f7f67e23ddae /sh
parentUse -r test consistently rather than -f (diff)
downloaddotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.tar.gz
dotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.zip
Explicitly check extension of .d files
Diffstat (limited to 'sh')
-rw-r--r--sh/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index db003ebe..33c5cc11 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,7 +6,7 @@ export PATH
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ]; then
- for config in "$HOME"/.profile.d/*; do
+ for config in "$HOME"/.profile.d/*.sh; do
[ -r "$config" ] && . "$config"
done
fi